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.005951/0.005951, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001325/0.001325, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 290.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 87.86 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4175, allocations: 86.97 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003032/0.4206, allocations: 2.015 MB / 0.7683 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.4229, allocations: 1.671 MB / 0.77 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.4229, allocations: 4 kB / 0.77 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.842e-05/0.423, allocations: 19.78 kB / 0.77 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.4231, allocations: 47.55 kB / 0.77 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/0.424, allocations: 362.8 kB / 0.7704 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.4243, allocations: 227.2 kB / 0.7706 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.4244, allocations: 65.09 kB / 0.7707 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.4245, allocations: 83.78 kB / 0.7707 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.4247, allocations: 95.66 kB / 0.7708 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.4247, allocations: 20 kB / 0.7709 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007552/0.4255, allocations: 411.5 kB / 0.7712 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.4255, allocations: 39.89 kB / 0.7713 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.4256, allocations: 95.59 kB / 0.7714 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.4262, allocations: 437.5 kB / 0.7718 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4262, allocations: 0 / 0.7718 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4262, allocations: 0 / 0.7718 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4262, allocations: 4 kB / 0.7718 GB, free: 14.35 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.000814/0.427, allocations: 0.5186 MB / 0.7723 GB, free: 13.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.4271, allocations: 8.031 kB / 0.7723 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.4282, allocations: 136.6 kB / 0.7724 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.4284, allocations: 188.1 kB / 0.7726 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.4285, allocations: 50 kB / 0.7727 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.4285, allocations: 16.38 kB / 0.7727 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.429, allocations: 231 kB / 0.7729 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.4291, allocations: 3.938 kB / 0.7729 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.4291, allocations: 4 kB / 0.7729 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4291, allocations: 4 kB / 0.7729 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.4298, allocations: 235.9 kB / 0.7731 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.4312, allocations: 0.9585 MB / 0.7741 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.4317, allocations: 182.5 kB / 0.7743 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.432, allocations: 108.8 kB / 0.7744 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.4327, allocations: 0.5259 MB / 0.7749 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4327, allocations: 38.56 kB / 0.7749 GB, free: 10.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.4327, allocations: 0 / 0.7749 GB, free: 10.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001142/0.4339, allocations: 332.9 kB / 0.7752 GB, free: 10.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.4339, allocations: 59.34 kB / 0.7753 GB, free: 10.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.434, allocations: 160.7 kB / 0.7754 GB, free: 10.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4341, allocations: 25.7 kB / 0.7755 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.4341, allocations: 124.1 kB / 0.7756 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.4342, allocations: 43.3 kB / 0.7756 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.4343, allocations: 45.61 kB / 0.7757 GB, free: 9.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.4344, allocations: 326.8 kB / 0.776 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.4347, allocations: 107.9 kB / 0.7761 GB, free: 9.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.4351, allocations: 124.3 kB / 0.7762 GB, free: 9.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.4358, allocations: 193.6 kB / 0.7764 GB, free: 9.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4358, allocations: 4 kB / 0.7764 GB, free: 9.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007875/0.4366, allocations: 267 kB / 0.7766 GB, free: 8.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4366, allocations: 6.5 kB / 0.7766 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.4366, allocations: 4 kB / 0.7766 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4366, allocations: 3.984 kB / 0.7767 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.437, allocations: 51.84 kB / 0.7767 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.437, allocations: 3.938 kB / 0.7767 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4373, allocations: 43.72 kB / 0.7767 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4373, allocations: 4 kB / 0.7768 GB, free: 8.852 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.0001168/0.4375, allocations: 129.8 kB / 0.7769 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.4375, allocations: 11.91 kB / 0.7769 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008151/0.4383, allocations: 266 kB / 0.7771 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4384, allocations: 11.92 kB / 0.7772 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4384, allocations: 0 / 0.7772 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4384, allocations: 3.984 kB / 0.7772 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4401, allocations: 1.07 MB / 0.7782 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4401, allocations: 7.875 kB / 0.7782 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.4405, allocations: 39.97 kB / 0.7782 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4405, allocations: 4.062 kB / 0.7782 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4405, allocations: 7.922 kB / 0.7783 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4405, allocations: 4 kB / 0.7783 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4405, allocations: 4 kB / 0.7783 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/0.4413, allocations: 352.9 kB / 0.7786 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.4414, allocations: 96.89 kB / 0.7787 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.4414, allocations: 3.984 kB / 0.7787 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.4417, allocations: 23.98 kB / 0.7787 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.4418, allocations: 11.97 kB / 0.7787 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4418, allocations: 8 kB / 0.7787 GB, free: 6.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.4419, allocations: 125.7 kB / 0.7789 GB, free: 6.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4419, allocations: 0 / 0.7789 GB, free: 6.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004332/0.4423, allocations: 131.8 kB / 0.779 GB, free: 6.355 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.0003913/0.4427, allocations: 223 kB / 0.7792 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.4435, allocations: 234.6 kB / 0.7794 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4435, allocations: 0 / 0.7794 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.4439, allocations: 116.1 kB / 0.7795 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4442, allocations: 46.08 kB / 0.7796 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4463, allocations: 480.3 kB / 0.78 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4466, allocations: 0.7125 MB / 0.7807 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.4468, allocations: 28.8 kB / 0.7808 GB, free: 4.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.4469, allocations: 23.42 kB / 0.7808 GB, free: 4.457 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4469, allocations: 3.938 kB / 0.7808 GB, free: 4.453 MB / 0.545 GB Notification: Performance of Templates: time 0.008597/0.4555, allocations: 4.554 MB / 0.7852 GB, free: 15.95 MB / 0.5606 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)