Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001283/0.001283, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.001417/0.001417, allocations: 167.5 kB / 22.46 MB, free: 5.363 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.281/1.281, allocations: 154.5 MB / 413.7 MB, free: 5.309 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.841e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.005047/0.005075, allocations: 1.971 MB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.008917, allocations: 1.513 MB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.796e-05/0.009015, allocations: 0 / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.124e-05/0.009106, allocations: 23.78 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.009279, allocations: 55.48 kB / 0.622 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.01097, allocations: 354.6 kB / 0.6223 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.01136, allocations: 235 kB / 0.6226 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.01157, allocations: 37.66 kB / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.0118, allocations: 119.8 kB / 0.6227 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.012, allocations: 71.84 kB / 0.6228 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.01206, allocations: 20 kB / 0.6228 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.01337, allocations: 411.3 kB / 0.6232 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.01344, allocations: 43.89 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.01357, allocations: 59.89 kB / 0.6233 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.01466, allocations: 486.6 kB / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01466, allocations: 0 / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01467, allocations: 0 / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.01467, allocations: 0 / 0.6238 GB, free: 15.26 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.001175/0.01585, allocations: 465.1 kB / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.0159, allocations: 13.47 kB / 0.6242 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/0.02088, allocations: 320.4 kB / 0.6245 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.02109, allocations: 121.6 kB / 0.6246 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.02127, allocations: 71.95 kB / 0.6247 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.02135, allocations: 16.38 kB / 0.6247 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.02374, allocations: 393.2 kB / 0.6251 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.02376, allocations: 192 / 0.6251 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.02382, allocations: 8.375 kB / 0.6251 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.02383, allocations: 8.125 kB / 0.6251 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003692/0.02752, allocations: 375.5 kB / 0.6255 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.02999, allocations: 0.7374 MB / 0.6262 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007871/0.03786, allocations: 0.6424 MB / 0.6268 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.03978, allocations: 192.7 kB / 0.627 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.03994, allocations: 23.98 kB / 0.627 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.03999, allocations: 34.56 kB / 0.6271 GB, free: 11.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.505e-06/0.03999, allocations: 0 / 0.6271 GB, free: 11.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.007514/0.04751, allocations: 0.7117 MB / 0.6278 GB, free: 11.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.04757, allocations: 51.41 kB / 0.6278 GB, free: 10.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.04777, allocations: 138 kB / 0.6279 GB, free: 10.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.04784, allocations: 29.7 kB / 0.628 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.04797, allocations: 124.2 kB / 0.6281 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.04807, allocations: 55.53 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.04827, allocations: 45.67 kB / 0.6282 GB, free: 10.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.04847, allocations: 318.8 kB / 0.6285 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.05044, allocations: 199.8 kB / 0.6287 GB, free: 10.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.05245, allocations: 199.8 kB / 0.6289 GB, free: 9.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.05605, allocations: 350.6 kB / 0.6292 GB, free: 9.488 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.05605, allocations: 0 / 0.6292 GB, free: 9.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0047/0.06076, allocations: 0.5121 MB / 0.6297 GB, free: 8.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.06079, allocations: 8 kB / 0.6297 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.0608, allocations: 0 / 0.6297 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/0.06167, allocations: 126.6 kB / 0.6298 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.06416, allocations: 151.9 kB / 0.63 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.06561, allocations: 0.6304 MB / 0.6306 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.06674, allocations: 71.8 kB / 0.6307 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.0668, allocations: 11.98 kB / 0.6307 GB, free: 7.953 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.000258/0.06706, allocations: 118.8 kB / 0.6308 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.06717, allocations: 11.95 kB / 0.6308 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/0.07215, allocations: 0.5147 MB / 0.6313 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.07217, allocations: 19.86 kB / 0.6313 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.07217, allocations: 0 / 0.6313 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.07218, allocations: 0 / 0.6313 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008458/0.08064, allocations: 0.9722 MB / 0.6323 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.08064, allocations: 0 / 0.6323 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/0.08353, allocations: 147.9 kB / 0.6324 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009126/0.08444, allocations: 127.1 kB / 0.6325 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.0845, allocations: 3.984 kB / 0.6325 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.08588, allocations: 0.6383 MB / 0.6331 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.08588, allocations: 0 / 0.6331 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.08961, allocations: 0.5562 MB / 0.6337 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.08964, allocations: 15.95 kB / 0.6337 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.0897, allocations: 4 kB / 0.6337 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/0.09048, allocations: 67.86 kB / 0.6338 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.09053, allocations: 11.97 kB / 0.6338 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.09056, allocations: 7.984 kB / 0.6338 GB, free: 4.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.51e-05/0.09066, allocations: 99.27 kB / 0.6339 GB, free: 4.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.09066, allocations: 0 / 0.6339 GB, free: 4.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000569/0.09123, allocations: 131.6 kB / 0.634 GB, free: 4.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.0005186/0.09175, allocations: 229.9 kB / 0.6342 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003302/0.09505, allocations: 447.5 kB / 0.6347 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.09505, allocations: 0 / 0.6347 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.09683, allocations: 243.7 kB / 0.6349 GB, free: 3.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.09726, allocations: 26.92 kB / 0.6349 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.0997, allocations: 472.1 kB / 0.6354 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.0998, allocations: 94.78 kB / 0.6355 GB, free: 2.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002779/0.1001, allocations: 48.53 kB / 0.6355 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.1003, allocations: 28.47 kB / 0.6355 GB, free: 2.793 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/0.1003, allocations: 0 / 0.6355 GB, free: 2.793 MB / 0.545 GB Notification: Performance of Templates: time 0.01226/0.1125, allocations: 6.094 MB / 0.6415 GB, free: 12.79 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.968142356723547] Failed to read output from testmodel.py, exit status != 0: 0.12349944561719894 0.137941729 0.119790344 Calling exit ...