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.00109/0.00109, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001079/0.001079, allocations: 192.1 kB / 17.31 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.331/1.331, 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.002096/0.002096, allocations: 284.9 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 90.89 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1573, allocations: 86.98 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003225/0.1606, allocations: 2.003 MB / 0.6836 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1629, allocations: 1.664 MB / 0.6852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.163, allocations: 3.938 kB / 0.6852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.163, allocations: 27.84 kB / 0.6852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1632, allocations: 51.48 kB / 0.6853 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009196/0.1641, allocations: 357.8 kB / 0.6856 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1643, allocations: 227.1 kB / 0.6858 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1645, allocations: 57.52 kB / 0.6859 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1646, allocations: 83.77 kB / 0.686 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1647, allocations: 95.66 kB / 0.6861 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.1648, allocations: 23.94 kB / 0.6861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007309/0.1655, allocations: 411.5 kB / 0.6865 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.1655, allocations: 47.88 kB / 0.6865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.1656, allocations: 91.66 kB / 0.6866 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.1662, allocations: 442.8 kB / 0.687 GB, free: 1.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1662, allocations: 0 / 0.687 GB, free: 1.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1662, allocations: 0 / 0.687 GB, free: 1.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1663, allocations: 0 / 0.687 GB, free: 1.855 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.0008497/0.1671, allocations: 0.5146 MB / 0.6875 GB, free: 1.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1672, allocations: 16.03 kB / 0.6875 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.1683, allocations: 132.7 kB / 0.6877 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1684, allocations: 180.2 kB / 0.6878 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.1685, allocations: 46.27 kB / 0.6879 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.1686, allocations: 24.34 kB / 0.6879 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.1692, allocations: 218.9 kB / 0.6881 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1692, allocations: 7.875 kB / 0.6881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.1692, allocations: 12 kB / 0.6881 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1692, allocations: 4 kB / 0.6881 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.17, allocations: 231.8 kB / 0.6884 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2442/0.4142, allocations: 0.956 MB / 0.6893 GB, free: 17.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.4147, allocations: 182.3 kB / 0.6895 GB, free: 17.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.415, allocations: 109.3 kB / 0.6896 GB, free: 17.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005376/0.4156, allocations: 0.5232 MB / 0.6901 GB, free: 16.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.4156, allocations: 38.23 kB / 0.6901 GB, free: 16.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.4156, allocations: 1.156 kB / 0.6901 GB, free: 16.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001125/0.4167, allocations: 336.8 kB / 0.6904 GB, free: 16.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.4168, allocations: 53.22 kB / 0.6905 GB, free: 16.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4169, allocations: 159.5 kB / 0.6906 GB, free: 16.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4169, allocations: 28.62 kB / 0.6907 GB, free: 16.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.417, allocations: 118 kB / 0.6908 GB, free: 16.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.417, allocations: 59.27 kB / 0.6908 GB, free: 16.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.4171, allocations: 42.86 kB / 0.6909 GB, free: 16.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.4172, allocations: 330 kB / 0.6912 GB, free: 16.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.4175, allocations: 99.77 kB / 0.6913 GB, free: 16.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.4179, allocations: 126.3 kB / 0.6914 GB, free: 16.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.4185, allocations: 202.4 kB / 0.6916 GB, free: 16.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4185, allocations: 0 / 0.6916 GB, free: 16.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007712/0.4193, allocations: 272.2 kB / 0.6919 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4193, allocations: 5.391 kB / 0.6919 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4193, allocations: 1.031 kB / 0.6919 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4194, allocations: 1 kB / 0.6919 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.4197, allocations: 49.27 kB / 0.6919 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4198, allocations: 9.547 kB / 0.6919 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.42, allocations: 33.58 kB / 0.692 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.4201, allocations: 5.562 kB / 0.692 GB, free: 15.96 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.241e-05/0.4202, allocations: 132.9 kB / 0.6921 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.4202, allocations: 15.12 kB / 0.6921 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007694/0.421, allocations: 265 kB / 0.6924 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.421, allocations: 3.156 kB / 0.6924 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.421, allocations: 8.844 kB / 0.6924 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.421, allocations: 4.562 kB / 0.6924 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.4226, allocations: 1.06 MB / 0.6934 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4226, allocations: 0.8438 kB / 0.6934 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.423, allocations: 42.89 kB / 0.6935 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.423, allocations: 5.953 kB / 0.6935 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.423, allocations: 10.53 kB / 0.6935 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.423, allocations: 1.656 kB / 0.6935 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.423, allocations: 1.609 kB / 0.6935 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.4237, allocations: 342.3 kB / 0.6938 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.4238, allocations: 99.59 kB / 0.6939 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.4238, allocations: 7.422 kB / 0.6939 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.4241, allocations: 25.17 kB / 0.6939 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.4242, allocations: 14.73 kB / 0.6939 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.4242, allocations: 5.406 kB / 0.6939 GB, free: 14.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.4243, allocations: 123.8 kB / 0.6941 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4243, allocations: 0.8125 kB / 0.6941 GB, free: 14.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.4248, allocations: 127.1 kB / 0.6942 GB, free: 14.36 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.0003848/0.4252, allocations: 231.3 kB / 0.6944 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.4259, allocations: 240.5 kB / 0.6946 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4259, allocations: 0 / 0.6946 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.4262, allocations: 109.2 kB / 0.6947 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.4266, allocations: 56.06 kB / 0.6948 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.4286, allocations: 483.5 kB / 0.6953 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.4288, allocations: 0.7169 MB / 0.696 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.429, allocations: 38.83 kB / 0.696 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.429, allocations: 24.72 kB / 0.696 GB, free: 13.17 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.429, allocations: 0 / 0.696 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Templates: time 0.008686/0.4377, allocations: 4.541 MB / 0.7004 GB, free: 12.85 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)