Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001/0.001, allocations: 188.7 kB / 17.34 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 285.6 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.907/0.907, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 95.83 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4613, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003084/0.4644, allocations: 2.019 MB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.4667, allocations: 1.671 MB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.4668, allocations: 4 kB / 0.7706 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.763e-05/0.4669, allocations: 15.8 kB / 0.7707 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.467, allocations: 51.55 kB / 0.7707 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009556/0.468, allocations: 362.8 kB / 0.7711 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.4682, allocations: 231.1 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.4684, allocations: 57.17 kB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.4685, allocations: 83.77 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.4686, allocations: 99.66 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.4687, allocations: 20 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.4694, allocations: 403.5 kB / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.4695, allocations: 55.81 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.4696, allocations: 83.66 kB / 0.772 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.4701, allocations: 433.5 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4702, allocations: 0 / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4702, allocations: 4 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.4702, allocations: 0 / 0.7725 GB, free: 14.34 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008516/0.471, allocations: 0.5186 MB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4711, allocations: 8.031 kB / 0.773 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.4722, allocations: 136.6 kB / 0.7731 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.4723, allocations: 188.1 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/0.4724, allocations: 54 kB / 0.7733 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.4725, allocations: 16.36 kB / 0.7734 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.473, allocations: 227 kB / 0.7736 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4731, allocations: 3.938 kB / 0.7736 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.4731, allocations: 4 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4731, allocations: 4 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.4738, allocations: 243.8 kB / 0.7738 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.4752, allocations: 0.9546 MB / 0.7747 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.4757, allocations: 182.6 kB / 0.7749 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.4761, allocations: 116.7 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/0.4767, allocations: 0.5181 MB / 0.7755 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.4768, allocations: 38.56 kB / 0.7756 GB, free: 10.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.4768, allocations: 0 / 0.7756 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001132/0.4779, allocations: 324.9 kB / 0.7759 GB, free: 10.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.478, allocations: 59.34 kB / 0.7759 GB, free: 10.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4781, allocations: 160.7 kB / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4782, allocations: 29.7 kB / 0.7761 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.4783, allocations: 120.1 kB / 0.7762 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.4783, allocations: 55.27 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.4784, allocations: 45.61 kB / 0.7763 GB, free: 9.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4785, allocations: 326.8 kB / 0.7766 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.4789, allocations: 103.9 kB / 0.7767 GB, free: 9.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.4792, allocations: 124.3 kB / 0.7769 GB, free: 9.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.4799, allocations: 195.6 kB / 0.777 GB, free: 9.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4799, allocations: 4 kB / 0.777 GB, free: 9.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007561/0.4807, allocations: 265.5 kB / 0.7773 GB, free: 8.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4807, allocations: 4 kB / 0.7773 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4807, allocations: 4 kB / 0.7773 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4807, allocations: 0 / 0.7773 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.4811, allocations: 59.83 kB / 0.7774 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4811, allocations: 0 / 0.7774 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.4814, allocations: 39.73 kB / 0.7774 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.4814, allocations: 11.98 kB / 0.7774 GB, free: 8.832 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 (22): * Single equations (assignments): 22 * 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.000116/0.4815, allocations: 125.8 kB / 0.7775 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.4816, allocations: 11.91 kB / 0.7775 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.4824, allocations: 269.5 kB / 0.7778 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4824, allocations: 7.938 kB / 0.7778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4824, allocations: 0 / 0.7778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4824, allocations: 0 / 0.7778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4842, allocations: 1.07 MB / 0.7789 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4842, allocations: 3.938 kB / 0.7789 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.4845, allocations: 48.02 kB / 0.7789 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4845, allocations: 7.938 kB / 0.7789 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.4846, allocations: 4 kB / 0.7789 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4846, allocations: 3.938 kB / 0.7789 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4846, allocations: 0 / 0.7789 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/0.4853, allocations: 356.9 kB / 0.7793 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.4854, allocations: 96.88 kB / 0.7794 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4854, allocations: 4 kB / 0.7794 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.4858, allocations: 27.97 kB / 0.7794 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.4858, allocations: 7.984 kB / 0.7794 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.4858, allocations: 4 kB / 0.7794 GB, free: 6.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.4859, allocations: 125.5 kB / 0.7795 GB, free: 6.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4859, allocations: 0 / 0.7795 GB, free: 6.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000455/0.4864, allocations: 135.8 kB / 0.7796 GB, free: 6.34 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000406/0.4868, allocations: 223 kB / 0.7799 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007618/0.4876, allocations: 235.8 kB / 0.7801 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4876, allocations: 0 / 0.7801 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.4879, allocations: 112.1 kB / 0.7802 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.4884, allocations: 54.91 kB / 0.7802 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.4905, allocations: 0.4903 MB / 0.7807 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.4908, allocations: 0.7164 MB / 0.7814 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4909, allocations: 19.44 kB / 0.7814 GB, free: 4.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4909, allocations: 3.938 kB / 0.7814 GB, free: 4.426 MB / 0.545 GB Notification: Performance of Templates: time 0.006115/0.497, allocations: 4.161 MB / 0.7855 GB, free: 308 kB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)