Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_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.001089/0.001089, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 177.5 kB / 16.57 MB, free: 6.52 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.319/1.319, allocations: 223.2 MB / 240.5 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 12 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1732, allocations: 77.11 MB / 0.5567 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002045/0.1753, allocations: 1.602 MB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1774, allocations: 1.467 MB / 0.5597 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.1775, allocations: 4 kB / 0.5597 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.085e-05/0.1775, allocations: 15.86 kB / 0.5597 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1776, allocations: 51.86 kB / 0.5598 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.1784, allocations: 279.2 kB / 0.5601 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1786, allocations: 143.7 kB / 0.5602 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1787, allocations: 45.69 kB / 0.5602 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.1788, allocations: 71.78 kB / 0.5603 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1789, allocations: 87.72 kB / 0.5604 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.179, allocations: 8 kB / 0.5604 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006869/0.1797, allocations: 383.5 kB / 0.5608 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.1797, allocations: 27.91 kB / 0.5608 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1798, allocations: 57.64 kB / 0.5608 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.1802, allocations: 319.5 kB / 0.5611 GB, free: 7.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1802, allocations: 4 kB / 0.5612 GB, free: 7.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1803, allocations: 0 / 0.5612 GB, free: 7.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1803, allocations: 0 / 0.5612 GB, free: 7.172 MB / 430.1 MB 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.0008515/0.1811, allocations: 499.1 kB / 0.5616 GB, free: 6.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1812, allocations: 12.03 kB / 0.5616 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.1812, allocations: 50.48 kB / 0.5617 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.1824, allocations: 151.7 kB / 0.5618 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1825, allocations: 178.8 kB / 0.562 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/0.1826, allocations: 49.69 kB / 0.5621 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1827, allocations: 19.95 kB / 0.5621 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.1832, allocations: 217.9 kB / 0.5623 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1832, allocations: 0 / 0.5623 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1833, allocations: 8 kB / 0.5623 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1833, allocations: 4 kB / 0.5623 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.184, allocations: 231.9 kB / 0.5625 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1855, allocations: 0.9777 MB / 0.5635 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.186, allocations: 178.7 kB / 0.5636 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/0.1867, allocations: 0.5181 MB / 0.5641 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1867, allocations: 38.5 kB / 0.5642 GB, free: 3.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1867, allocations: 0 / 0.5642 GB, free: 3.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001159/0.1879, allocations: 334.6 kB / 0.5645 GB, free: 3.379 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1879, allocations: 59.34 kB / 0.5646 GB, free: 3.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1881, allocations: 159.8 kB / 0.5647 GB, free: 3.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1881, allocations: 29.7 kB / 0.5647 GB, free: 3.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.1882, allocations: 120.1 kB / 0.5648 GB, free: 2.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.1883, allocations: 55.2 kB / 0.5649 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.1883, allocations: 0 / 0.5649 GB, free: 2.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1884, allocations: 334.8 kB / 0.5652 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.1888, allocations: 100.3 kB / 0.5653 GB, free: 2.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.1891, allocations: 125.4 kB / 0.5654 GB, free: 2.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.1895, allocations: 100.8 kB / 0.5655 GB, free: 2.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1895, allocations: 0 / 0.5655 GB, free: 2.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007911/0.1903, allocations: 266.9 kB / 0.5658 GB, free: 2.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1903, allocations: 4 kB / 0.5658 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1903, allocations: 4 kB / 0.5658 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1903, allocations: 4.031 kB / 0.5658 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.1907, allocations: 51.91 kB / 0.5658 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1907, allocations: 11.97 kB / 0.5659 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.191, allocations: 31.73 kB / 0.5659 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.1911, allocations: 16 kB / 0.5659 GB, free: 1.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1912, allocations: 129.7 kB / 0.566 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.1913, allocations: 15.89 kB / 0.566 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008205/0.1921, allocations: 267.8 kB / 0.5663 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1921, allocations: 7.938 kB / 0.5663 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1921, allocations: 0 / 0.5663 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1921, allocations: 0 / 0.5663 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1939, allocations: 1.081 MB / 0.5674 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1939, allocations: 3.938 kB / 0.5674 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.1942, allocations: 47.95 kB / 0.5674 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1942, allocations: 0 / 0.5674 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1942, allocations: 8.062 kB / 0.5674 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1942, allocations: 0 / 0.5674 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1942, allocations: 0 / 0.5674 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.1951, allocations: 390.2 kB / 0.5678 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.1951, allocations: 88.95 kB / 0.5679 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.1952, allocations: 7.953 kB / 0.5679 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.1955, allocations: 27.97 kB / 0.5679 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1956, allocations: 11.97 kB / 0.5679 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1956, allocations: 8 kB / 0.5679 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.371e-05/0.1957, allocations: 122.7 kB / 0.568 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1957, allocations: 0 / 0.568 GB, free: 15.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.1962, allocations: 135.8 kB / 0.5682 GB, free: 15.33 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.1977, allocations: 1.164 MB / 0.5693 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008156/0.1985, allocations: 237.7 kB / 0.5695 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1986, allocations: 0 / 0.5695 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.1989, allocations: 115.8 kB / 0.5696 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.1993, allocations: 47.8 kB / 0.5697 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.203, allocations: 1.429 MB / 0.5711 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.2034, allocations: 0.7206 MB / 0.5718 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.2036, allocations: 31.73 kB / 0.5718 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2037, allocations: 39.42 kB / 0.5719 GB, free: 11.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.044e-06/0.2037, allocations: 4 kB / 0.5719 GB, free: 11.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.2216, allocations: 5.88 MB / 0.5776 GB, free: 5.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.2219, allocations: 187 kB / 0.5778 GB, free: 5.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.562, allocations: 0 / 0.5778 GB, free: 5.535 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) Environment - environmentSimulation: