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.009101/0.009101, allocations: 106.3 kB / 15.74 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.001761/0.001761, allocations: 196.5 kB / 16.68 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.12 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1581, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003116/0.1612, allocations: 2.013 MB / 0.6612 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.1636, allocations: 1.675 MB / 0.6628 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1637, allocations: 0 / 0.6628 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.817e-05/0.1638, allocations: 23.78 kB / 0.6628 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1639, allocations: 47.56 kB / 0.6629 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.165, allocations: 366.8 kB / 0.6632 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.1653, allocations: 231 kB / 0.6634 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1654, allocations: 60.31 kB / 0.6635 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1655, allocations: 75.84 kB / 0.6636 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1657, allocations: 95.66 kB / 0.6636 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.1657, allocations: 16 kB / 0.6637 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000767/0.1665, allocations: 415.5 kB / 0.6641 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.1666, allocations: 43.84 kB / 0.6641 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.1667, allocations: 91.64 kB / 0.6642 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.1673, allocations: 439.7 kB / 0.6646 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1673, allocations: 4 kB / 0.6646 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1673, allocations: 0 / 0.6646 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.1673, allocations: 0 / 0.6646 GB, free: 5.199 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.0008668/0.1682, allocations: 0.5225 MB / 0.6651 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1682, allocations: 8.031 kB / 0.6651 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.1683, allocations: 50.73 kB / 0.6652 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.1693, allocations: 140.6 kB / 0.6653 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1695, allocations: 172.3 kB / 0.6655 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.1695, allocations: 54.25 kB / 0.6655 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.1696, allocations: 19.94 kB / 0.6655 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.1701, allocations: 213.3 kB / 0.6658 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1702, allocations: 4 kB / 0.6658 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1702, allocations: 8 kB / 0.6658 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1702, allocations: 0 / 0.6658 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.1709, allocations: 243.7 kB / 0.666 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1722, allocations: 0.9736 MB / 0.6669 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.1727, allocations: 182.6 kB / 0.6671 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.173, allocations: 116.8 kB / 0.6672 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.1736, allocations: 0.5181 MB / 0.6677 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1737, allocations: 34.56 kB / 0.6678 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1737, allocations: 0 / 0.6678 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001088/0.1748, allocations: 332 kB / 0.6681 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1748, allocations: 55.41 kB / 0.6681 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.175, allocations: 150.5 kB / 0.6683 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.175, allocations: 33.69 kB / 0.6683 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.1751, allocations: 120.1 kB / 0.6684 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.1751, allocations: 55.25 kB / 0.6685 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.1752, allocations: 41.61 kB / 0.6685 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1753, allocations: 334.7 kB / 0.6688 GB, free: 456 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.1756, allocations: 99.94 kB / 0.6689 GB, free: 356 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.176, allocations: 121.6 kB / 0.6691 GB, free: 228 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.1766, allocations: 200.4 kB / 0.6692 GB, free: 24 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1766, allocations: 4 kB / 0.6692 GB, free: 20 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007532/0.1774, allocations: 269.4 kB / 0.6695 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1774, allocations: 9.344 kB / 0.6695 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1774, allocations: 0 / 0.6695 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1774, allocations: 0 / 0.6695 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.1778, allocations: 51.89 kB / 0.6696 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1778, allocations: 8 kB / 0.6696 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.1781, allocations: 35.81 kB / 0.6696 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.1781, allocations: 8 kB / 0.6696 GB, free: 15.64 MB / 0.5137 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.0001232/0.1783, allocations: 125.8 kB / 0.6697 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.1783, allocations: 19.75 kB / 0.6698 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008094/0.1791, allocations: 272.5 kB / 0.67 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1792, allocations: 0 / 0.67 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1792, allocations: 0 / 0.67 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1792, allocations: 3.984 kB / 0.67 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1809, allocations: 1.062 MB / 0.6711 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1809, allocations: 4 kB / 0.6711 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.1812, allocations: 43.97 kB / 0.6711 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1812, allocations: 0 / 0.6711 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.1812, allocations: 8 kB / 0.6711 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1813, allocations: 3.984 kB / 0.6711 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1813, allocations: 0 / 0.6711 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.182, allocations: 356.9 kB / 0.6715 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.1821, allocations: 85.02 kB / 0.6715 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1821, allocations: 15.92 kB / 0.6715 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.1824, allocations: 15.98 kB / 0.6716 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.1825, allocations: 27.91 kB / 0.6716 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1825, allocations: 4 kB / 0.6716 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.1826, allocations: 118.9 kB / 0.6717 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1826, allocations: 0 / 0.6717 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005038/0.1831, allocations: 131.9 kB / 0.6718 GB, free: 13.16 MB / 0.5137 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.001476/0.1846, allocations: 1.013 MB / 0.6728 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007729/0.1854, allocations: 230.1 kB / 0.673 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.1854, allocations: 0 / 0.673 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.1857, allocations: 112.1 kB / 0.6731 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1862, allocations: 47.89 kB / 0.6732 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/0.1912, allocations: 2.358 MB / 0.6755 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1916, allocations: 0.7125 MB / 0.6762 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.1918, allocations: 34.78 kB / 0.6762 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1919, allocations: 47.42 kB / 0.6763 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.1919, allocations: 0 / 0.6763 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2153, allocations: 6.343 MB / 0.6825 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.822, allocations: 14.86 kB / 0.6825 GB, free: 2.301 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)