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.001699/0.001699, allocations: 79.67 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002262/0.002262, allocations: 167.3 kB / 22.46 MB, free: 5.379 MB / 14.72 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 1.407/1.407, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.195/1.195, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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 178] 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 3.065e-06/3.065e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.205e-05/4.511e-05, allocations: 8.453 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004136/0.004181, allocations: 1.967 MB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.007733, allocations: 1.514 MB / 0.622 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.007896, allocations: 8 kB / 0.622 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.008021, allocations: 19.78 kB / 0.622 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.008283, allocations: 51.5 kB / 0.6221 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.01029, allocations: 373.4 kB / 0.6224 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.01074, allocations: 231 kB / 0.6226 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.01093, allocations: 45.64 kB / 0.6227 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.01116, allocations: 119.8 kB / 0.6228 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.01134, allocations: 67.83 kB / 0.6229 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.01139, allocations: 23.94 kB / 0.6229 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009874/0.01237, allocations: 407.4 kB / 0.6233 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.01242, allocations: 39.83 kB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.01254, allocations: 67.89 kB / 0.6234 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.01331, allocations: 486.6 kB / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01331, allocations: 4 kB / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.01331, allocations: 0 / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.01333, allocations: 0 / 0.6238 GB, free: 15.16 MB / 0.545 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.00097/0.0143, allocations: 453.2 kB / 0.6243 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.01434, allocations: 12.03 kB / 0.6243 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/0.01496, allocations: 88.78 kB / 0.6244 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.0151, allocations: 129.5 kB / 0.6245 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.01522, allocations: 75.95 kB / 0.6246 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.01525, allocations: 12.38 kB / 0.6246 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.01574, allocations: 253.3 kB / 0.6248 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.01576, allocations: 192 / 0.6248 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.01578, allocations: 8.375 kB / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.0158, allocations: 8.125 kB / 0.6248 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.01613, allocations: 127.9 kB / 0.625 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.01755, allocations: 0.5871 MB / 0.6255 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.01968, allocations: 334.2 kB / 0.6259 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.01989, allocations: 72.83 kB / 0.6259 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/0.0204, allocations: 75.91 kB / 0.626 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.02044, allocations: 38.56 kB / 0.626 GB, free: 12.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.02044, allocations: 0 / 0.626 GB, free: 12.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.00176/0.0222, allocations: 385 kB / 0.6264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.02224, allocations: 51.41 kB / 0.6264 GB, free: 12.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.02237, allocations: 137 kB / 0.6266 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.02241, allocations: 33.64 kB / 0.6266 GB, free: 12.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.0225, allocations: 124.3 kB / 0.6267 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.02255, allocations: 51.58 kB / 0.6268 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.02264, allocations: 37.7 kB / 0.6268 GB, free: 11.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.02279, allocations: 322.8 kB / 0.6271 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.02301, allocations: 79.95 kB / 0.6272 GB, free: 11.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.02323, allocations: 81.67 kB / 0.6273 GB, free: 11.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.02365, allocations: 159 kB / 0.6274 GB, free: 11.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02365, allocations: 0 / 0.6274 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009938/0.02464, allocations: 298.2 kB / 0.6277 GB, free: 10.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.02466, allocations: 4 kB / 0.6277 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.02467, allocations: 0 / 0.6277 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.02526, allocations: 120.8 kB / 0.6278 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.02656, allocations: 103.9 kB / 0.6279 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.02749, allocations: 0.6304 MB / 0.6285 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.02775, allocations: 19.92 kB / 0.6286 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.02778, allocations: 15.98 kB / 0.6286 GB, free: 10.07 MB / 0.545 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 0.0001896/0.02797, allocations: 126.8 kB / 0.6287 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.02805, allocations: 7.953 kB / 0.6287 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.02907, allocations: 281.2 kB / 0.629 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.02908, allocations: 7.938 kB / 0.629 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.02909, allocations: 0 / 0.629 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02909, allocations: 7.922 kB / 0.629 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.03126, allocations: 0.6408 MB / 0.6296 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03126, allocations: 4 kB / 0.6296 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.0326, allocations: 100 kB / 0.6297 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005818/0.03319, allocations: 119 kB / 0.6298 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.03321, allocations: 11.94 kB / 0.6298 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009766/0.03419, allocations: 0.6304 MB / 0.6305 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.03419, allocations: 0 / 0.6305 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.03523, allocations: 361.8 kB / 0.6308 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.03526, allocations: 11.89 kB / 0.6308 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.03529, allocations: 0 / 0.6308 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.03552, allocations: 23.91 kB / 0.6308 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.03557, allocations: 11.98 kB / 0.6308 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.03559, allocations: 8 kB / 0.6309 GB, free: 7.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.03566, allocations: 99.27 kB / 0.6309 GB, free: 7.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.03566, allocations: 0 / 0.6309 GB, free: 7.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000619/0.03628, allocations: 135.5 kB / 0.6311 GB, free: 7.402 MB / 0.545 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.0006171/0.0369, allocations: 246.9 kB / 0.6313 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.03795, allocations: 211.8 kB / 0.6315 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.03796, allocations: 3.938 kB / 0.6315 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.0386, allocations: 134.3 kB / 0.6316 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.03908, allocations: 34.14 kB / 0.6317 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.03997, allocations: 307.2 kB / 0.632 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.04009, allocations: 106.6 kB / 0.6321 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.04019, allocations: 15.56 kB / 0.6321 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.04025, allocations: 20.48 kB / 0.6321 GB, free: 6.289 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.04025, allocations: 0 / 0.6321 GB, free: 6.289 MB / 0.545 GB Notification: Performance of Templates: time 0.009805/0.05006, allocations: 4.456 MB / 0.6365 GB, free: 1.926 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.854600500315428] Failed to read output from testmodel.py, exit status != 0: 0.059297896921634674 0.074196466 0.057500741 Calling exit ...