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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9752/0.9752, allocations: 143.4 MB / 159.2 MB, free: 4.938 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 184.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 447.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001143, allocations: 111.1 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 279.4 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 79.88 kB / 0.6886 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3778, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002813/0.3807, allocations: 2.08 MB / 0.77 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3827, allocations: 1.75 MB / 0.7717 GB, free: 23.82 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.3828, allocations: 7.938 kB / 0.7717 GB, free: 23.81 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.265e-05/0.3829, allocations: 15.86 kB / 0.7717 GB, free: 23.79 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.383, allocations: 47.61 kB / 0.7717 GB, free: 23.75 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.3839, allocations: 283.2 kB / 0.772 GB, free: 23.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3841, allocations: 227.1 kB / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3842, allocations: 48.19 kB / 0.7723 GB, free: 23.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.3843, allocations: 75.78 kB / 0.7723 GB, free: 23.13 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3844, allocations: 91.66 kB / 0.7724 GB, free: 23.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3845, allocations: 12 kB / 0.7724 GB, free: 23.03 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.3851, allocations: 391.5 kB / 0.7728 GB, free: 22.64 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.3851, allocations: 39.89 kB / 0.7728 GB, free: 22.61 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.3852, allocations: 87.64 kB / 0.7729 GB, free: 22.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.3856, allocations: 434.8 kB / 0.7733 GB, free: 22.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3856, allocations: 0 / 0.7733 GB, free: 22.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3856, allocations: 0 / 0.7733 GB, free: 22.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3857, allocations: 0 / 0.7733 GB, free: 22.09 MB / 458.7 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.0006719/0.3863, allocations: 0.5187 MB / 0.7739 GB, free: 21.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.3864, allocations: 8.031 kB / 0.7739 GB, free: 21.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.3875, allocations: 136.6 kB / 0.774 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.3876, allocations: 184.2 kB / 0.7742 GB, free: 21.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.031e-05/0.3877, allocations: 46.27 kB / 0.7742 GB, free: 21.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3877, allocations: 20.3 kB / 0.7742 GB, free: 21.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.3883, allocations: 217.9 kB / 0.7744 GB, free: 20.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3883, allocations: 7.875 kB / 0.7744 GB, free: 20.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.3883, allocations: 8 kB / 0.7745 GB, free: 20.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3883, allocations: 4 kB / 0.7745 GB, free: 20.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.389, allocations: 235.8 kB / 0.7747 GB, free: 20.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.3901, allocations: 0.9585 MB / 0.7756 GB, free: 19.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.3906, allocations: 190.5 kB / 0.7758 GB, free: 19.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3909, allocations: 116.8 kB / 0.7759 GB, free: 19.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/0.3915, allocations: 0.5103 MB / 0.7764 GB, free: 18.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3915, allocations: 42.55 kB / 0.7765 GB, free: 18.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.3915, allocations: 4 kB / 0.7765 GB, free: 18.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.001091/0.3926, allocations: 322.2 kB / 0.7768 GB, free: 18.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.3926, allocations: 55.69 kB / 0.7768 GB, free: 18.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3927, allocations: 160.9 kB / 0.777 GB, free: 18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3928, allocations: 33.7 kB / 0.777 GB, free: 17.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.3928, allocations: 112.2 kB / 0.7771 GB, free: 17.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3929, allocations: 63.12 kB / 0.7772 GB, free: 17.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.3929, allocations: 45.59 kB / 0.7772 GB, free: 17.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.393, allocations: 326.8 kB / 0.7775 GB, free: 17.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.3933, allocations: 103.9 kB / 0.7776 GB, free: 17.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.3937, allocations: 127.3 kB / 0.7777 GB, free: 17.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.3943, allocations: 191 kB / 0.7779 GB, free: 16.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3943, allocations: 0 / 0.7779 GB, free: 16.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000723/0.395, allocations: 275.6 kB / 0.7782 GB, free: 16.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.395, allocations: 8.031 kB / 0.7782 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3951, allocations: 0 / 0.7782 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.3951, allocations: 3.938 kB / 0.7782 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.3954, allocations: 55.83 kB / 0.7783 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3955, allocations: 4 kB / 0.7783 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.3958, allocations: 31.83 kB / 0.7783 GB, free: 16.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3958, allocations: 11.98 kB / 0.7783 GB, free: 16.6 MB / 458.7 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 9.086e-05/0.3959, allocations: 122.6 kB / 0.7784 GB, free: 16.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3959, allocations: 19.8 kB / 0.7784 GB, free: 16.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.3967, allocations: 268.6 kB / 0.7787 GB, free: 16.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3967, allocations: 3.938 kB / 0.7787 GB, free: 16.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3967, allocations: 0 / 0.7787 GB, free: 16.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3967, allocations: 0 / 0.7787 GB, free: 16.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.3982, allocations: 1.066 MB / 0.7797 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3982, allocations: 7.938 kB / 0.7797 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.3986, allocations: 43.89 kB / 0.7798 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3986, allocations: 0 / 0.7798 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3986, allocations: 8.062 kB / 0.7798 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3986, allocations: 0 / 0.7798 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3986, allocations: 4 kB / 0.7798 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3998, allocations: 1.021 MB / 0.7808 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.3998, allocations: 88.95 kB / 0.7809 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3998, allocations: 11.98 kB / 0.7809 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.4002, allocations: 19.98 kB / 0.7809 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.4002, allocations: 19.97 kB / 0.7809 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4002, allocations: 11.94 kB / 0.7809 GB, free: 13.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.773e-05/0.4003, allocations: 122.2 kB / 0.7811 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4003, allocations: 0 / 0.7811 GB, free: 13.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005196/0.4008, allocations: 135.9 kB / 0.7812 GB, free: 13.39 MB / 458.7 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.0003636/0.4012, allocations: 223 kB / 0.7814 GB, free: 13.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007074/0.4019, allocations: 234.4 kB / 0.7816 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4019, allocations: 0 / 0.7816 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.4022, allocations: 111.9 kB / 0.7817 GB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.4027, allocations: 52.08 kB / 0.7818 GB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.4048, allocations: 0.6727 MB / 0.7824 GB, free: 12.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.405, allocations: 0.7128 MB / 0.7831 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.4052, allocations: 28.67 kB / 0.7832 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.4053, allocations: 27.42 kB / 0.7832 GB, free: 11.27 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4053, allocations: 0 / 0.7832 GB, free: 11.27 MB / 458.7 MB Notification: Performance of Templates: time 0.006334/0.4116, allocations: 4.49 MB / 0.7876 GB, free: 6.82 MB / 458.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)