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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001078/0.001078, allocations: 191 kB / 17.3 MB, free: 5.613 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 284.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8811/0.8811, allocations: 169.2 MB / 0.4989 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 90.33 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.155, allocations: 86.98 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002935/0.158, allocations: 2 MB / 0.6836 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1601, allocations: 1.664 MB / 0.6852 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.1602, allocations: 4 kB / 0.6852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.342e-05/0.1603, allocations: 27.78 kB / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.99e-05/0.1604, allocations: 47.56 kB / 0.6853 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.1613, allocations: 358.8 kB / 0.6856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1615, allocations: 227.1 kB / 0.6858 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1616, allocations: 61.5 kB / 0.6859 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.1617, allocations: 79.78 kB / 0.686 GB, free: 3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1618, allocations: 95.66 kB / 0.6861 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.1619, allocations: 20 kB / 0.6861 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.1626, allocations: 415.5 kB / 0.6865 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.1626, allocations: 43.91 kB / 0.6865 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.1627, allocations: 91.66 kB / 0.6866 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.1632, allocations: 442.8 kB / 0.687 GB, free: 1.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1632, allocations: 4 kB / 0.687 GB, free: 1.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1632, allocations: 3.938 kB / 0.687 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1632, allocations: 0 / 0.687 GB, free: 1.906 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.000758/0.164, allocations: 0.5186 MB / 0.6875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1641, allocations: 12.03 kB / 0.6875 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.1651, allocations: 132.7 kB / 0.6877 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1652, allocations: 180.2 kB / 0.6878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.292e-05/0.1653, allocations: 50.25 kB / 0.6879 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1653, allocations: 16.38 kB / 0.6879 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.1659, allocations: 226.8 kB / 0.6881 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1659, allocations: 3.938 kB / 0.6881 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1659, allocations: 12 kB / 0.6881 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1659, allocations: 4 kB / 0.6881 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006731/0.1666, allocations: 231.8 kB / 0.6884 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2595/0.4261, allocations: 0.9568 MB / 0.6893 GB, free: 18.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.4266, allocations: 181 kB / 0.6895 GB, free: 18.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.4269, allocations: 112.2 kB / 0.6896 GB, free: 18.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/0.4275, allocations: 0.523 MB / 0.6901 GB, free: 17.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4275, allocations: 34.48 kB / 0.6901 GB, free: 17.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.4275, allocations: 0 / 0.6901 GB, free: 17.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001104/0.4286, allocations: 335.3 kB / 0.6904 GB, free: 17.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.4287, allocations: 54.38 kB / 0.6905 GB, free: 17.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4288, allocations: 160.5 kB / 0.6906 GB, free: 17.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4288, allocations: 31.98 kB / 0.6907 GB, free: 17.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.4289, allocations: 118.5 kB / 0.6908 GB, free: 16.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4289, allocations: 55.92 kB / 0.6908 GB, free: 16.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.429, allocations: 39.48 kB / 0.6909 GB, free: 16.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.4291, allocations: 329.4 kB / 0.6912 GB, free: 16.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.4294, allocations: 102.8 kB / 0.6913 GB, free: 16.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.4298, allocations: 129.3 kB / 0.6914 GB, free: 16.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.4304, allocations: 195.3 kB / 0.6916 GB, free: 16.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4305, allocations: 0.5 kB / 0.6916 GB, free: 16.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007491/0.4312, allocations: 274.1 kB / 0.6919 GB, free: 16.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4312, allocations: 5.312 kB / 0.6919 GB, free: 16.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4313, allocations: 1.719 kB / 0.6919 GB, free: 16.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4313, allocations: 1.156 kB / 0.6919 GB, free: 16.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.4316, allocations: 54.11 kB / 0.6919 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4316, allocations: 10.34 kB / 0.6919 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.4319, allocations: 28.34 kB / 0.692 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.432, allocations: 10.34 kB / 0.692 GB, free: 16.31 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 8.553e-05/0.4321, allocations: 125.2 kB / 0.6921 GB, free: 16.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.4321, allocations: 14.62 kB / 0.6921 GB, free: 16.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007685/0.4329, allocations: 273 kB / 0.6924 GB, free: 16.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.4329, allocations: 2.297 kB / 0.6924 GB, free: 16.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4329, allocations: 3.938 kB / 0.6924 GB, free: 16.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4329, allocations: 3.797 kB / 0.6924 GB, free: 16.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.4344, allocations: 1.066 MB / 0.6934 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4345, allocations: 1.234 kB / 0.6934 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.4348, allocations: 46.95 kB / 0.6935 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4348, allocations: 5.812 kB / 0.6935 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.4348, allocations: 4.016 kB / 0.6935 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4348, allocations: 0.9688 kB / 0.6935 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4348, allocations: 4.844 kB / 0.6935 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.4356, allocations: 339.1 kB / 0.6938 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.4356, allocations: 98.58 kB / 0.6939 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4356, allocations: 6.297 kB / 0.6939 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.436, allocations: 25.08 kB / 0.6939 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.436, allocations: 18.41 kB / 0.6939 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.4361, allocations: 6.109 kB / 0.6939 GB, free: 14.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.4361, allocations: 119.4 kB / 0.6941 GB, free: 14.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4361, allocations: 0 / 0.6941 GB, free: 14.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004511/0.4366, allocations: 135.7 kB / 0.6942 GB, free: 14.7 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.0003672/0.437, allocations: 222.7 kB / 0.6944 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007158/0.4377, allocations: 236.9 kB / 0.6946 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4377, allocations: 0 / 0.6946 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.438, allocations: 117.8 kB / 0.6947 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4384, allocations: 55.06 kB / 0.6948 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4403, allocations: 478.2 kB / 0.6952 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.4405, allocations: 0.7164 MB / 0.6959 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.4406, allocations: 35.19 kB / 0.696 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.4407, allocations: 20.58 kB / 0.696 GB, free: 13.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.154e-06/0.4407, allocations: 1.438 kB / 0.696 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Templates: time 0.008814/0.4495, allocations: 4.551 MB / 0.7004 GB, free: 13.19 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)