Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 290.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9457/0.9457, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 95.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.399, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002741/0.4017, allocations: 2 MB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.4039, allocations: 1.667 MB / 0.7706 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.404, allocations: 0 / 0.7706 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.362e-05/0.4041, allocations: 19.8 kB / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.4042, allocations: 47.55 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008268/0.405, allocations: 358.8 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.4052, allocations: 219.2 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4053, allocations: 57.09 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.4054, allocations: 87.72 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.4056, allocations: 91.66 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.4056, allocations: 16 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007193/0.4063, allocations: 415.5 kB / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.4064, allocations: 39.91 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.4065, allocations: 83.66 kB / 0.772 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.407, allocations: 429.5 kB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.407, allocations: 3.938 kB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.407, allocations: 0 / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.407, allocations: 0 / 0.7724 GB, free: 14.36 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.0007541/0.4078, allocations: 0.5148 MB / 0.7729 GB, free: 13.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4078, allocations: 8.031 kB / 0.7729 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.4084, allocations: 92.64 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4086, allocations: 184.2 kB / 0.7732 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.4086, allocations: 46.25 kB / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.4087, allocations: 16.38 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.4091, allocations: 182.1 kB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4091, allocations: 7.938 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4091, allocations: 4 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4091, allocations: 4 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.4096, allocations: 179.8 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.4109, allocations: 0.9072 MB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.4114, allocations: 178.4 kB / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.4117, allocations: 76.83 kB / 0.7747 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.4123, allocations: 0.5259 MB / 0.7753 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4123, allocations: 30.56 kB / 0.7753 GB, free: 11.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4123, allocations: 0 / 0.7753 GB, free: 11.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006935/0.413, allocations: 241.3 kB / 0.7755 GB, free: 10.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.4131, allocations: 51.41 kB / 0.7756 GB, free: 10.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4132, allocations: 161.3 kB / 0.7757 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.4132, allocations: 29.7 kB / 0.7757 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.4133, allocations: 119.7 kB / 0.7759 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.4133, allocations: 43.36 kB / 0.7759 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.4134, allocations: 45.66 kB / 0.7759 GB, free: 10.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.4135, allocations: 322.8 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.4137, allocations: 71.95 kB / 0.7763 GB, free: 9.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.4139, allocations: 97.67 kB / 0.7764 GB, free: 9.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.4143, allocations: 155.9 kB / 0.7766 GB, free: 9.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4143, allocations: 0 / 0.7766 GB, free: 9.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005025/0.4149, allocations: 215.4 kB / 0.7768 GB, free: 9.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4149, allocations: 8 kB / 0.7768 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4149, allocations: 0 / 0.7768 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4149, allocations: 3.938 kB / 0.7768 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.4152, allocations: 43.94 kB / 0.7768 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.4152, allocations: 4 kB / 0.7768 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.4154, allocations: 23.83 kB / 0.7768 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.4154, allocations: 4 kB / 0.7769 GB, free: 9.391 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.4155, allocations: 136.1 kB / 0.777 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.4156, allocations: 15.81 kB / 0.777 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.4161, allocations: 193.2 kB / 0.7772 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4161, allocations: 3.984 kB / 0.7772 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4161, allocations: 4 kB / 0.7772 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.4161, allocations: 92.89 kB / 0.7773 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.4162, allocations: 4 kB / 0.7773 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4164, allocations: 23.97 kB / 0.7773 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.4165, allocations: 11.92 kB / 0.7773 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005883/0.4171, allocations: 268.8 kB / 0.7776 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004891/0.4176, allocations: 342.6 kB / 0.7779 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001995/0.4178, allocations: 81.7 kB / 0.778 GB, free: 8.184 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.728e-05/0.4179, allocations: 117.5 kB / 0.7781 GB, free: 8.07 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.4179, allocations: 0 / 0.7781 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008968/0.4188, allocations: 339 kB / 0.7784 GB, free: 7.734 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006539/0.4194, allocations: 0.734 MB / 0.7791 GB, free: 6.953 MB / 0.545 GB Notification: Performance of Templates: time 0.008179/0.4276, allocations: 5.12 MB / 0.7841 GB, free: 1.887 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)