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.0007581/0.0007581, allocations: 99.28 kB / 16.02 MB, free: 80 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.0008669/0.000867, allocations: 180.3 kB / 16.92 MB, free: 6.922 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.232/1.232, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6124/0.6124, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 8 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 77.52 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001821/0.128, allocations: 1.718 MB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1302, allocations: 1.703 MB / 0.5634 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.1302, allocations: 0 / 0.5634 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.1303, allocations: 15.91 kB / 0.5634 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1304, allocations: 39.62 kB / 0.5634 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.1312, allocations: 303.1 kB / 0.5637 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1314, allocations: 215.2 kB / 0.5639 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1315, allocations: 49.5 kB / 0.564 GB, free: 4.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.1316, allocations: 71.72 kB / 0.5641 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1317, allocations: 91.66 kB / 0.5641 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1318, allocations: 8 kB / 0.5641 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000671/0.1324, allocations: 395.5 kB / 0.5645 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.1325, allocations: 31.91 kB / 0.5646 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.1326, allocations: 113.3 kB / 0.5647 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.1331, allocations: 427.2 kB / 0.5651 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1331, allocations: 3.938 kB / 0.5651 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1331, allocations: 0 / 0.5651 GB, free: 3.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1331, allocations: 0 / 0.5651 GB, free: 3.738 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.000723/0.1339, allocations: 0.4952 MB / 0.5656 GB, free: 3.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1339, allocations: 8.031 kB / 0.5656 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.134, allocations: 54.73 kB / 0.5656 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.135, allocations: 144.7 kB / 0.5658 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1352, allocations: 180.2 kB / 0.5659 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.1352, allocations: 54.2 kB / 0.566 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.1353, allocations: 16.38 kB / 0.566 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.1358, allocations: 221.6 kB / 0.5662 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1358, allocations: 0 / 0.5662 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1359, allocations: 4 kB / 0.5662 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1359, allocations: 8 kB / 0.5662 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.1366, allocations: 239.8 kB / 0.5664 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1379, allocations: 0.9738 MB / 0.5674 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.1384, allocations: 182.7 kB / 0.5676 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.1387, allocations: 108.8 kB / 0.5677 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005837/0.1393, allocations: 0.5181 MB / 0.5682 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1393, allocations: 38.55 kB / 0.5682 GB, free: 156 kB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.1393, allocations: 0 / 0.5682 GB, free: 156 kB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001116/0.1404, allocations: 342.7 kB / 0.5685 GB, free: 15.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.1405, allocations: 51.41 kB / 0.5686 GB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1406, allocations: 161.5 kB / 0.5687 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1407, allocations: 29.7 kB / 0.5688 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.1407, allocations: 124.1 kB / 0.5689 GB, free: 15.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1408, allocations: 51.2 kB / 0.5689 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1408, allocations: 21.7 kB / 0.569 GB, free: 15.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.1409, allocations: 326.8 kB / 0.5693 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.1413, allocations: 107.9 kB / 0.5694 GB, free: 14.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.1416, allocations: 125.6 kB / 0.5695 GB, free: 14.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.1423, allocations: 203.5 kB / 0.5697 GB, free: 14.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1423, allocations: 0 / 0.5697 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007572/0.1431, allocations: 277.3 kB / 0.57 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1431, allocations: 4 kB / 0.57 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1431, allocations: 0 / 0.57 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1431, allocations: 4.031 kB / 0.57 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1435, allocations: 55.89 kB / 0.57 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1435, allocations: 3.938 kB / 0.57 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.1438, allocations: 39.81 kB / 0.5701 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1438, allocations: 4 kB / 0.5701 GB, free: 14.19 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 0.0001044/0.1439, allocations: 129.7 kB / 0.5702 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.1439, allocations: 15.81 kB / 0.5702 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.1447, allocations: 264.4 kB / 0.5705 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1448, allocations: 7.938 kB / 0.5705 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1448, allocations: 0 / 0.5705 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1448, allocations: 0 / 0.5705 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.1464, allocations: 1.085 MB / 0.5715 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.1464, allocations: 3.938 kB / 0.5715 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.1467, allocations: 39.97 kB / 0.5716 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1467, allocations: 0 / 0.5716 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1468, allocations: 4.062 kB / 0.5716 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1468, allocations: 8 kB / 0.5716 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1468, allocations: 3.984 kB / 0.5716 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.1475, allocations: 352.9 kB / 0.5719 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.1476, allocations: 104.8 kB / 0.572 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1476, allocations: 4 kB / 0.572 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.148, allocations: 23.97 kB / 0.572 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.148, allocations: 19.92 kB / 0.5721 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.148, allocations: 4 kB / 0.5721 GB, free: 11.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.1481, allocations: 125.7 kB / 0.5722 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1481, allocations: 0 / 0.5722 GB, free: 11.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.1485, allocations: 127.9 kB / 0.5723 GB, free: 11.68 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.001246/0.1498, allocations: 1.008 MB / 0.5733 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007175/0.1505, allocations: 237.8 kB / 0.5735 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1505, allocations: 0 / 0.5735 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.1508, allocations: 123.5 kB / 0.5736 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1512, allocations: 47.91 kB / 0.5737 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.1558, allocations: 2.439 MB / 0.5761 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1561, allocations: 0.7089 MB / 0.5768 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.1563, allocations: 32.81 kB / 0.5768 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1564, allocations: 47.41 kB / 0.5768 GB, free: 6.902 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1564, allocations: 0 / 0.5768 GB, free: 6.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.049/2.206, allocations: 5.964 MB / 0.5827 GB, free: 1.133 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/2.206, allocations: 222.4 kB / 0.5829 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/4.123, allocations: 0 / 0.5829 GB, free: 0.8711 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)