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.004678/0.004678, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001206/0.001206, allocations: 195.3 kB / 16.79 MB, free: 6.242 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6384/0.6384, allocations: 115.3 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.78 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1254, allocations: 76.19 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002609/0.128, allocations: 2.057 MB / 0.5579 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1301, allocations: 1.754 MB / 0.5596 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.1302, allocations: 4 kB / 0.5596 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.1302, allocations: 11.86 kB / 0.5596 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.1303, allocations: 47.61 kB / 0.5596 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.131, allocations: 287.2 kB / 0.5599 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1312, allocations: 227 kB / 0.5601 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1313, allocations: 45.52 kB / 0.5602 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.1314, allocations: 67.84 kB / 0.5602 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1315, allocations: 95.66 kB / 0.5603 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1315, allocations: 12 kB / 0.5603 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006207/0.1321, allocations: 387.5 kB / 0.5607 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.1322, allocations: 43.83 kB / 0.5608 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.1323, allocations: 87.59 kB / 0.5608 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.1328, allocations: 431.2 kB / 0.5612 GB, free: 5.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1328, allocations: 0 / 0.5612 GB, free: 5.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1328, allocations: 0 / 0.5612 GB, free: 5.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1328, allocations: 0 / 0.5612 GB, free: 5.176 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.0007244/0.1335, allocations: 0.5225 MB / 0.5618 GB, free: 4.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1336, allocations: 12.03 kB / 0.5618 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.1336, allocations: 50.73 kB / 0.5618 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1346, allocations: 136.6 kB / 0.5619 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1347, allocations: 180.2 kB / 0.5621 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/0.1348, allocations: 54.25 kB / 0.5622 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1349, allocations: 16.36 kB / 0.5622 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.1354, allocations: 229.5 kB / 0.5624 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1354, allocations: 0 / 0.5624 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1354, allocations: 4 kB / 0.5624 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1354, allocations: 4 kB / 0.5624 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.1361, allocations: 239.8 kB / 0.5626 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1373, allocations: 0.966 MB / 0.5636 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.1378, allocations: 186.5 kB / 0.5638 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.1381, allocations: 112.8 kB / 0.5639 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/0.1387, allocations: 0.5181 MB / 0.5644 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1387, allocations: 34.56 kB / 0.5644 GB, free: 1.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.1387, allocations: 0 / 0.5644 GB, free: 1.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001027/0.1398, allocations: 335.4 kB / 0.5647 GB, free: 1.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1398, allocations: 55.41 kB / 0.5648 GB, free: 1.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1399, allocations: 157.9 kB / 0.5649 GB, free: 1.012 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1399, allocations: 33.7 kB / 0.565 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.14, allocations: 116.1 kB / 0.5651 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1401, allocations: 55.28 kB / 0.5651 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.1401, allocations: 41.61 kB / 0.5652 GB, free: 0.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.1403, allocations: 334.8 kB / 0.5655 GB, free: 424 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.1406, allocations: 95.95 kB / 0.5656 GB, free: 328 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1409, allocations: 129.6 kB / 0.5657 GB, free: 192 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.1415, allocations: 195.5 kB / 0.5659 GB, free: 15.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1415, allocations: 0 / 0.5659 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006936/0.1422, allocations: 269.4 kB / 0.5661 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1422, allocations: 4 kB / 0.5661 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1422, allocations: 0 / 0.5661 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1422, allocations: 3.938 kB / 0.5662 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.1426, allocations: 51.91 kB / 0.5662 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1426, allocations: 4 kB / 0.5662 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1429, allocations: 35.72 kB / 0.5662 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1429, allocations: 12 kB / 0.5663 GB, free: 15.61 MB / 446.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 (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 9.847e-05/0.143, allocations: 129.7 kB / 0.5664 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.143, allocations: 11.91 kB / 0.5664 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.1438, allocations: 262.7 kB / 0.5666 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1438, allocations: 3.938 kB / 0.5666 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1438, allocations: 0 / 0.5666 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1438, allocations: 3.984 kB / 0.5666 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.1454, allocations: 1.073 MB / 0.5677 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1454, allocations: 7.938 kB / 0.5677 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.1457, allocations: 48.02 kB / 0.5677 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1457, allocations: 0 / 0.5677 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1457, allocations: 8 kB / 0.5678 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1457, allocations: 0 / 0.5678 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1457, allocations: 0 / 0.5678 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.1464, allocations: 362.5 kB / 0.5681 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.1465, allocations: 89 kB / 0.5682 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1465, allocations: 8 kB / 0.5682 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.1468, allocations: 19.97 kB / 0.5682 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1469, allocations: 15.92 kB / 0.5682 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1469, allocations: 12 kB / 0.5682 GB, free: 13.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.147, allocations: 115.2 kB / 0.5683 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.147, allocations: 0 / 0.5683 GB, free: 13.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.1474, allocations: 139.8 kB / 0.5685 GB, free: 13.12 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 (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.001211/0.1486, allocations: 0.9949 MB / 0.5695 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.1493, allocations: 236.4 kB / 0.5697 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1493, allocations: 0 / 0.5697 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.1496, allocations: 115.1 kB / 0.5698 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.15, allocations: 49.8 kB / 0.5698 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.1545, allocations: 2.4 MB / 0.5722 GB, free: 9.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1548, allocations: 0.7089 MB / 0.5729 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.155, allocations: 32.94 kB / 0.5729 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1551, allocations: 46.27 kB / 0.5729 GB, free: 8.402 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1551, allocations: 0 / 0.5729 GB, free: 8.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3829/0.538, allocations: 6.051 MB / 0.5789 GB, free: 2.508 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.5382, allocations: 211.7 kB / 0.5791 GB, free: 2.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.458, allocations: 0 / 0.5791 GB, free: 2.254 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/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)