Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_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.001522/0.001522, allocations: 108 kB / 15.6 MB, free: 132 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.001721/0.001721, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002251/0.002251, allocations: 290.9 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.924/0.924, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 102.7 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1214, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002875/0.1243, allocations: 2.009 MB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1265, allocations: 1.663 MB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.1265, allocations: 4 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.1266, allocations: 19.73 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1267, allocations: 51.55 kB / 0.684 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009321/0.1277, allocations: 362.8 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1279, allocations: 227.2 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.128, allocations: 57.72 kB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.841e-05/0.1281, allocations: 83.72 kB / 0.6846 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1283, allocations: 99.66 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.1283, allocations: 16 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000787/0.1291, allocations: 399.5 kB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.1292, allocations: 47.89 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1293, allocations: 87.64 kB / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008375/0.1302, allocations: 430.9 kB / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1302, allocations: 0 / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1302, allocations: 0 / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1302, allocations: 0 / 0.6857 GB, free: 11.04 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.0008718/0.1311, allocations: 0.5264 MB / 0.6862 GB, free: 10.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1311, allocations: 8.031 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.52e-05/0.1312, allocations: 50.73 kB / 0.6863 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.1329, allocations: 136.6 kB / 0.6864 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.133, allocations: 176.3 kB / 0.6865 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.1331, allocations: 54.25 kB / 0.6866 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1331, allocations: 12.38 kB / 0.6866 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.1338, allocations: 230.2 kB / 0.6868 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1338, allocations: 0 / 0.6868 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1338, allocations: 4 kB / 0.6868 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1338, allocations: 7.984 kB / 0.6868 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.1346, allocations: 239.8 kB / 0.6871 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.136, allocations: 0.9701 MB / 0.688 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.1365, allocations: 182.6 kB / 0.6882 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.1369, allocations: 112.8 kB / 0.6883 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.1375, allocations: 0.5142 MB / 0.6888 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1376, allocations: 38.56 kB / 0.6888 GB, free: 7.434 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1376, allocations: 0 / 0.6888 GB, free: 7.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00117/0.1387, allocations: 336 kB / 0.6892 GB, free: 7.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1388, allocations: 59.41 kB / 0.6892 GB, free: 7.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1389, allocations: 156.7 kB / 0.6894 GB, free: 6.871 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1389, allocations: 33.7 kB / 0.6894 GB, free: 6.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.139, allocations: 116.1 kB / 0.6895 GB, free: 6.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.1391, allocations: 59.19 kB / 0.6896 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.1391, allocations: 37.7 kB / 0.6896 GB, free: 6.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.1392, allocations: 330.8 kB / 0.6899 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.1396, allocations: 103.9 kB / 0.69 GB, free: 6.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.14, allocations: 125.4 kB / 0.6901 GB, free: 6.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.1407, allocations: 201.5 kB / 0.6903 GB, free: 5.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1407, allocations: 0 / 0.6903 GB, free: 5.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008025/0.1415, allocations: 273.4 kB / 0.6906 GB, free: 5.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1415, allocations: 4 kB / 0.6906 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1415, allocations: 0 / 0.6906 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1415, allocations: 3.938 kB / 0.6906 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.1419, allocations: 47.91 kB / 0.6906 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1419, allocations: 4 kB / 0.6906 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.1422, allocations: 35.81 kB / 0.6907 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.1423, allocations: 12 kB / 0.6907 GB, free: 5.469 MB / 494.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.0001006/0.1424, allocations: 131 kB / 0.6908 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.1424, allocations: 15.81 kB / 0.6908 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008332/0.1433, allocations: 269 kB / 0.6911 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1433, allocations: 3.938 kB / 0.6911 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1433, allocations: 0 / 0.6911 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1433, allocations: 0 / 0.6911 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.145, allocations: 1.066 MB / 0.6921 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.145, allocations: 4 kB / 0.6921 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.1454, allocations: 39.95 kB / 0.6922 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1454, allocations: 4.062 kB / 0.6922 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.1454, allocations: 8 kB / 0.6922 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1454, allocations: 4 kB / 0.6922 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1454, allocations: 4 kB / 0.6922 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.1462, allocations: 356.8 kB / 0.6925 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1462, allocations: 92.98 kB / 0.6926 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1463, allocations: 8 kB / 0.6926 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.1466, allocations: 19.97 kB / 0.6926 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1467, allocations: 15.98 kB / 0.6927 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1467, allocations: 4 kB / 0.6927 GB, free: 3.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.672e-05/0.1468, allocations: 119.2 kB / 0.6928 GB, free: 3.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1468, allocations: 0 / 0.6928 GB, free: 3.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.1472, allocations: 131.9 kB / 0.6929 GB, free: 2.984 MB / 494.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.001352/0.1486, allocations: 1.009 MB / 0.6939 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007855/0.1494, allocations: 237.4 kB / 0.6941 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1494, allocations: 0 / 0.6941 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.1497, allocations: 120 kB / 0.6942 GB, free: 1.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1501, allocations: 47.81 kB / 0.6943 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.155, allocations: 2.358 MB / 0.6966 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1552, allocations: 0.7086 MB / 0.6973 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002/0.1554, allocations: 36.67 kB / 0.6973 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1556, allocations: 43.36 kB / 0.6974 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1556, allocations: 0 / 0.6974 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3986/0.5542, allocations: 6.326 MB / 0.7035 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/8.089, allocations: 3.938 kB / 0.7035 GB, free: 8.141 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)