Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005759/0.005758, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001295/0.001295, allocations: 200.7 kB / 16.68 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7616/0.7616, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.31 kB / 0.5809 GB, free: 1.293 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1509, allocations: 80.2 MB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003509/0.1544, allocations: 2.021 MB / 0.6612 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1572, allocations: 1.671 MB / 0.6628 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.1573, allocations: 0 / 0.6628 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.948e-05/0.1574, allocations: 19.78 kB / 0.6628 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1576, allocations: 55.55 kB / 0.6629 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1588, allocations: 358.8 kB / 0.6632 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.1592, allocations: 231 kB / 0.6634 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1593, allocations: 53.8 kB / 0.6635 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1595, allocations: 79.84 kB / 0.6636 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.1597, allocations: 95.64 kB / 0.6636 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1597, allocations: 20 kB / 0.6637 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008903/0.1606, allocations: 407.5 kB / 0.6641 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.1607, allocations: 55.77 kB / 0.6641 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1608, allocations: 91.64 kB / 0.6642 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.1615, allocations: 446.5 kB / 0.6646 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1615, allocations: 4 kB / 0.6646 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1615, allocations: 0 / 0.6646 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1616, allocations: 0 / 0.6646 GB, free: 8.52 MB / 0.4981 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.0009961/0.1626, allocations: 0.5218 MB / 0.6651 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1626, allocations: 12.03 kB / 0.6651 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.633e-05/0.1627, allocations: 58.73 kB / 0.6652 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.1638, allocations: 132.7 kB / 0.6653 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.164, allocations: 184.2 kB / 0.6655 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.1641, allocations: 54.25 kB / 0.6656 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.1641, allocations: 15.94 kB / 0.6656 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.1647, allocations: 217.3 kB / 0.6658 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1648, allocations: 7.938 kB / 0.6658 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.1648, allocations: 4 kB / 0.6658 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1648, allocations: 4 kB / 0.6658 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.1656, allocations: 235.8 kB / 0.666 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1672, allocations: 0.9699 MB / 0.667 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.1677, allocations: 182.6 kB / 0.6671 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1681, allocations: 108.8 kB / 0.6672 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.1689, allocations: 0.522 MB / 0.6678 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1689, allocations: 30.56 kB / 0.6678 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.1689, allocations: 0 / 0.6678 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001224/0.1702, allocations: 337.6 kB / 0.6681 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.1702, allocations: 51.41 kB / 0.6682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1704, allocations: 161.9 kB / 0.6683 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.1704, allocations: 29.7 kB / 0.6683 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.1705, allocations: 120.2 kB / 0.6685 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.1706, allocations: 55.52 kB / 0.6685 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.1707, allocations: 49.66 kB / 0.6686 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1708, allocations: 330.8 kB / 0.6689 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.1712, allocations: 95.95 kB / 0.669 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.1716, allocations: 126.6 kB / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.1723, allocations: 198.1 kB / 0.6693 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1723, allocations: 0 / 0.6693 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008468/0.1732, allocations: 269.4 kB / 0.6695 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1732, allocations: 7.938 kB / 0.6695 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1732, allocations: 7.938 kB / 0.6695 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1732, allocations: 0 / 0.6695 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.1736, allocations: 51.91 kB / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1736, allocations: 0 / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.1739, allocations: 39.81 kB / 0.6696 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1739, allocations: 8 kB / 0.6696 GB, free: 2.953 MB / 0.4981 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.0001356/0.1741, allocations: 137.7 kB / 0.6698 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.1741, allocations: 19.89 kB / 0.6698 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/0.175, allocations: 261.3 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.175, allocations: 7.938 kB / 0.67 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.175, allocations: 0 / 0.67 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.175, allocations: 0 / 0.67 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.177, allocations: 1.066 MB / 0.6711 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.177, allocations: 4 kB / 0.6711 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.1773, allocations: 47.97 kB / 0.6711 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.1774, allocations: 3.984 kB / 0.6711 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1774, allocations: 4 kB / 0.6711 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1774, allocations: 4 kB / 0.6711 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1774, allocations: 0 / 0.6711 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.1782, allocations: 356.9 kB / 0.6715 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.1783, allocations: 93 kB / 0.6716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.1784, allocations: 4 kB / 0.6716 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.1787, allocations: 23.97 kB / 0.6716 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.1787, allocations: 15.98 kB / 0.6716 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1788, allocations: 4 kB / 0.6716 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001005/0.1789, allocations: 122.5 kB / 0.6717 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1789, allocations: 0 / 0.6717 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004741/0.1794, allocations: 131.5 kB / 0.6719 GB, free: 476 kB / 0.4981 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.001509/0.1809, allocations: 1.009 MB / 0.6728 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007963/0.1817, allocations: 231.8 kB / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1817, allocations: 0 / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.1821, allocations: 116.1 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.1826, allocations: 54.91 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.1877, allocations: 2.365 MB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1881, allocations: 0.7086 MB / 0.6762 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.1883, allocations: 27.19 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1884, allocations: 43.42 kB / 0.6763 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1884, allocations: 0 / 0.6763 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1668/0.3552, allocations: 6.332 MB / 0.6825 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.423, allocations: 16.09 kB / 0.6825 GB, free: 5.621 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)