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.001536/0.001536, allocations: 111.2 kB / 16.4 MB, free: 6.371 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.001656/0.001656, allocations: 191.9 kB / 17.33 MB, free: 5.84 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7203/0.7203, allocations: 122.9 MB / 414 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 71.36 kB / 0.5679 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.127, allocations: 77.93 MB / 0.644 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002898/0.1299, allocations: 1.997 MB / 0.646 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1322, allocations: 1.674 MB / 0.6476 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1322, allocations: 4 kB / 0.6476 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.873e-05/0.1323, allocations: 15.8 kB / 0.6476 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1324, allocations: 59.48 kB / 0.6477 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.1333, allocations: 358.8 kB / 0.648 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.1336, allocations: 231.1 kB / 0.6483 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1337, allocations: 53.52 kB / 0.6483 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1338, allocations: 83.77 kB / 0.6484 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.134, allocations: 99.66 kB / 0.6485 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.134, allocations: 23.94 kB / 0.6485 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.1348, allocations: 403.5 kB / 0.6489 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.1348, allocations: 51.88 kB / 0.649 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.1349, allocations: 83.66 kB / 0.649 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.1355, allocations: 450.8 kB / 0.6495 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1355, allocations: 0 / 0.6495 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1355, allocations: 0 / 0.6495 GB, free: 3.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1355, allocations: 4 kB / 0.6495 GB, free: 3.836 MB / 494.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.0008442/0.1364, allocations: 0.5218 MB / 0.65 GB, free: 3.262 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1364, allocations: 12.62 kB / 0.65 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.1365, allocations: 50.73 kB / 0.65 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.1375, allocations: 136.7 kB / 0.6502 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1377, allocations: 184.2 kB / 0.6503 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.1378, allocations: 54.27 kB / 0.6504 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.1378, allocations: 16.36 kB / 0.6504 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.1384, allocations: 213.6 kB / 0.6506 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1384, allocations: 4 kB / 0.6506 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1384, allocations: 11.94 kB / 0.6506 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1384, allocations: 4 kB / 0.6506 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.1392, allocations: 239.8 kB / 0.6509 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1406, allocations: 0.9585 MB / 0.6518 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.141, allocations: 186.6 kB / 0.652 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.1414, allocations: 112.8 kB / 0.6521 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/0.142, allocations: 0.522 MB / 0.6526 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.142, allocations: 34.55 kB / 0.6526 GB, free: 240 kB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.142, allocations: 0 / 0.6526 GB, free: 240 kB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001121/0.1432, allocations: 329.7 kB / 0.6529 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1432, allocations: 55.41 kB / 0.653 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1434, allocations: 164.4 kB / 0.6531 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1434, allocations: 29.7 kB / 0.6532 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1435, allocations: 112.3 kB / 0.6533 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.1435, allocations: 63.47 kB / 0.6533 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.1436, allocations: 49.64 kB / 0.6534 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1437, allocations: 322.8 kB / 0.6537 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.1441, allocations: 99.94 kB / 0.6538 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.1444, allocations: 126.4 kB / 0.6539 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.1451, allocations: 195.9 kB / 0.6541 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1451, allocations: 3.938 kB / 0.6541 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007543/0.1458, allocations: 274.5 kB / 0.6544 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1459, allocations: 5.719 kB / 0.6544 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1459, allocations: 0 / 0.6544 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1459, allocations: 7.938 kB / 0.6544 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.1462, allocations: 59.89 kB / 0.6544 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1463, allocations: 0 / 0.6544 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1465, allocations: 31.81 kB / 0.6545 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1466, allocations: 11.98 kB / 0.6545 GB, free: 14.27 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.000113/0.1467, allocations: 121.8 kB / 0.6546 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.1467, allocations: 15.91 kB / 0.6546 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/0.1475, allocations: 266.6 kB / 0.6549 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1475, allocations: 3.938 kB / 0.6549 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1476, allocations: 7.984 kB / 0.6549 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1476, allocations: 0 / 0.6549 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.1492, allocations: 1.076 MB / 0.6559 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1493, allocations: 0 / 0.6559 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.1496, allocations: 47.95 kB / 0.656 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1496, allocations: 8 kB / 0.656 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1496, allocations: 4 kB / 0.656 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1496, allocations: 4 kB / 0.656 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1496, allocations: 0 / 0.656 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.1504, allocations: 352.1 kB / 0.6563 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1504, allocations: 93 kB / 0.6564 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1505, allocations: 4 kB / 0.6564 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1508, allocations: 19.97 kB / 0.6564 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1508, allocations: 23.92 kB / 0.6565 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1508, allocations: 4 kB / 0.6565 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.511e-05/0.1509, allocations: 123.1 kB / 0.6566 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1509, allocations: 0 / 0.6566 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004425/0.1514, allocations: 135.6 kB / 0.6567 GB, free: 11.77 MB / 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.001267/0.1527, allocations: 1.006 MB / 0.6577 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007427/0.1534, allocations: 235.8 kB / 0.6579 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1534, allocations: 0 / 0.6579 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.1538, allocations: 112.1 kB / 0.658 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.1542, allocations: 47.91 kB / 0.6581 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.1588, allocations: 2.374 MB / 0.6604 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1591, allocations: 0.7086 MB / 0.6611 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.1593, allocations: 29.7 kB / 0.6611 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1594, allocations: 47.41 kB / 0.6612 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1594, allocations: 0 / 0.6612 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1825, allocations: 6.348 MB / 0.6674 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.777, allocations: 15.69 kB / 0.6674 GB, free: 0.8477 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)