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.001027/0.001027, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001033/0.001033, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 294.6 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9029/0.9029, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 96.02 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1312, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002815/0.134, allocations: 2.067 MB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.1361, allocations: 1.658 MB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.1362, allocations: 4 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.918e-05/0.1363, allocations: 15.84 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1364, allocations: 47.61 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000878/0.1373, allocations: 311.2 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1375, allocations: 231.1 kB / 0.684 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1377, allocations: 53.73 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.1378, allocations: 91.77 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1379, allocations: 95.66 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1379, allocations: 16 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.1386, allocations: 415.5 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.1386, allocations: 39.91 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.1387, allocations: 91.66 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.1392, allocations: 442.9 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1392, allocations: 0 / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1393, allocations: 0 / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1393, allocations: 4 kB / 0.6851 GB, free: 11.41 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.0007843/0.1401, allocations: 0.5225 MB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1401, allocations: 8.031 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.1402, allocations: 54.73 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.1413, allocations: 140.6 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1414, allocations: 176.2 kB / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.1415, allocations: 46.25 kB / 0.6861 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1415, allocations: 24.38 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.1421, allocations: 222.2 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1421, allocations: 0 / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1421, allocations: 4 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1422, allocations: 11.94 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.1429, allocations: 231.9 kB / 0.6865 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.1442, allocations: 0.9739 MB / 0.6875 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.1447, allocations: 177 kB / 0.6877 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.145, allocations: 112.8 kB / 0.6878 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/0.1456, allocations: 0.5259 MB / 0.6883 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1457, allocations: 34.56 kB / 0.6883 GB, free: 7.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.1457, allocations: 0 / 0.6883 GB, free: 7.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001124/0.1468, allocations: 337.5 kB / 0.6886 GB, free: 7.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.1469, allocations: 55.41 kB / 0.6887 GB, free: 7.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.147, allocations: 161.7 kB / 0.6888 GB, free: 7.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.147, allocations: 25.7 kB / 0.6889 GB, free: 7.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1471, allocations: 120.1 kB / 0.689 GB, free: 7.086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.1471, allocations: 47.27 kB / 0.689 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.1472, allocations: 45.7 kB / 0.6891 GB, free: 6.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.1473, allocations: 326.8 kB / 0.6894 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.1477, allocations: 99.94 kB / 0.6895 GB, free: 6.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.148, allocations: 128.8 kB / 0.6896 GB, free: 6.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.1487, allocations: 201.5 kB / 0.6898 GB, free: 6.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1487, allocations: 0 / 0.6898 GB, free: 6.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000756/0.1494, allocations: 271.6 kB / 0.69 GB, free: 5.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1495, allocations: 4 kB / 0.69 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1495, allocations: 3.984 kB / 0.6901 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1495, allocations: 7.938 kB / 0.6901 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.1499, allocations: 55.91 kB / 0.6901 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1499, allocations: 0 / 0.6901 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.1502, allocations: 35.81 kB / 0.6901 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1502, allocations: 7.938 kB / 0.6902 GB, free: 5.848 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.0001072/0.1503, allocations: 134.4 kB / 0.6903 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.1504, allocations: 11.81 kB / 0.6903 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/0.1512, allocations: 262.7 kB / 0.6905 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1512, allocations: 3.938 kB / 0.6905 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1512, allocations: 4 kB / 0.6906 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1512, allocations: 7.984 kB / 0.6906 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.1529, allocations: 1.062 MB / 0.6916 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1529, allocations: 64 / 0.6916 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.1532, allocations: 43.91 kB / 0.6916 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1532, allocations: 4 kB / 0.6916 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1533, allocations: 3.984 kB / 0.6916 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1533, allocations: 4 kB / 0.6917 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1533, allocations: 0 / 0.6917 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007461/0.154, allocations: 358.2 kB / 0.692 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1541, allocations: 85.02 kB / 0.6921 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.1541, allocations: 7.984 kB / 0.6921 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.1545, allocations: 27.92 kB / 0.6921 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.1545, allocations: 15.97 kB / 0.6921 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1545, allocations: 8 kB / 0.6921 GB, free: 3.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.677e-05/0.1546, allocations: 121.3 kB / 0.6922 GB, free: 3.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1546, allocations: 0 / 0.6922 GB, free: 3.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.155, allocations: 127.9 kB / 0.6924 GB, free: 3.367 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.001295/0.1563, allocations: 1.013 MB / 0.6934 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007594/0.1571, allocations: 234.6 kB / 0.6936 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1571, allocations: 7.938 kB / 0.6936 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.1575, allocations: 112.1 kB / 0.6937 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1579, allocations: 55.81 kB / 0.6937 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.1626, allocations: 2.398 MB / 0.6961 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1629, allocations: 0.7125 MB / 0.6968 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.1631, allocations: 32.92 kB / 0.6968 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1632, allocations: 43.42 kB / 0.6969 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1632, allocations: 0 / 0.6969 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/0.3384, allocations: 6.221 MB / 0.7029 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.3386, allocations: 230.1 kB / 0.7032 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.452, allocations: 6.594 kB / 0.7032 GB, free: 8.367 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)