Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9043/0.9043, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7423/0.7423, allocations: 154.6 MB / 414.5 MB, free: 0.6797 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.626e-05, allocations: 7.094 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002352/0.002368, allocations: 2.078 MB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.004126, allocations: 1.451 MB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.00418, allocations: 0 / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.004231, allocations: 23.78 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.381e-05/0.004315, allocations: 52.05 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.005232, allocations: 336.6 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.005445, allocations: 236.4 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.005559, allocations: 37.59 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.00567, allocations: 119.8 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005772, allocations: 71.78 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.005797, allocations: 20.94 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.00631, allocations: 348.9 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.006349, allocations: 43.83 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.006408, allocations: 63.89 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.006822, allocations: 396 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.006827, allocations: 3.984 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006828, allocations: 0 / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.006832, allocations: 0.75 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005392/0.007371, allocations: 0.536 MB / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.007403, allocations: 8.031 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.007689, allocations: 95.7 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.007781, allocations: 131.2 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/0.007856, allocations: 75.91 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.007878, allocations: 16.38 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.00814, allocations: 214.7 kB / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.008148, allocations: 4.125 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.008168, allocations: 12.38 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.008177, allocations: 8.719 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.008288, allocations: 76.53 kB / 0.5266 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.009118, allocations: 0.5993 MB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.009784, allocations: 213.9 kB / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.009854, allocations: 59.64 kB / 0.5274 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.01005, allocations: 66.44 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.01007, allocations: 41.33 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.01007, allocations: 0 / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0006484/0.01072, allocations: 254.2 kB / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.01075, allocations: 51.41 kB / 0.5278 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.01083, allocations: 192.8 kB / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01085, allocations: 36.33 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.01092, allocations: 163 kB / 0.5282 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.01095, allocations: 55.53 kB / 0.5283 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.011, allocations: 43.36 kB / 0.5283 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.0111, allocations: 0.4923 MB / 0.5288 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.01117, allocations: 43.97 kB / 0.5288 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.01124, allocations: 54.72 kB / 0.5289 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.01137, allocations: 103.6 kB / 0.529 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01137, allocations: 0 / 0.529 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003195/0.01169, allocations: 211.7 kB / 0.5292 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01171, allocations: 8 kB / 0.5292 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01171, allocations: 0 / 0.5292 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.01196, allocations: 82.69 kB / 0.5293 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.01249, allocations: 101.9 kB / 0.5294 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003739/0.01286, allocations: 0.8247 MB / 0.5302 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.01294, allocations: 24.84 kB / 0.5302 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01295, allocations: 4 kB / 0.5302 GB, free: 7.887 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/0.01303, allocations: 162 kB / 0.5303 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.01306, allocations: 19.91 kB / 0.5304 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.01341, allocations: 203.3 kB / 0.5306 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.01341, allocations: 9.141 kB / 0.5306 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01341, allocations: 0 / 0.5306 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01342, allocations: 0 / 0.5306 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.01414, allocations: 0.5982 MB / 0.5311 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01415, allocations: 0 / 0.5311 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.01465, allocations: 94.86 kB / 0.5312 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.01485, allocations: 82.81 kB / 0.5313 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.01486, allocations: 8 kB / 0.5313 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003308/0.0152, allocations: 0.8244 MB / 0.5321 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0152, allocations: 1.094 kB / 0.5321 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.01552, allocations: 340.6 kB / 0.5325 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.01553, allocations: 11.95 kB / 0.5325 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01555, allocations: 0 / 0.5325 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.01563, allocations: 20.48 kB / 0.5325 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.01566, allocations: 8.922 kB / 0.5325 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01567, allocations: 4 kB / 0.5325 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.01571, allocations: 137.9 kB / 0.5326 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01571, allocations: 0 / 0.5326 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002901/0.016, allocations: 131.5 kB / 0.5328 GB, free: 5.137 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002896/0.01629, allocations: 247.2 kB / 0.533 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.01663, allocations: 160.7 kB / 0.5331 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01663, allocations: 0 / 0.5331 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.0168, allocations: 89.34 kB / 0.5332 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01702, allocations: 45.92 kB / 0.5333 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.01765, allocations: 317.7 kB / 0.5336 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.01769, allocations: 73.55 kB / 0.5336 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.616e-05/0.01776, allocations: 19.69 kB / 0.5337 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.0178, allocations: 12.5 kB / 0.5337 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.0178, allocations: 4.969 kB / 0.5337 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of Templates: time 0.005952/0.02376, allocations: 4.971 MB / 0.5385 GB, free: 15.36 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7325554629787803]