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.001753/0.001753, allocations: 109.5 kB / 16.41 MB, free: 6.016 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.001851/0.001851, allocations: 189 kB / 17.34 MB, free: 5.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.486/1.486, 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.002512/0.002512, allocations: 292.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4005, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003089/0.4036, allocations: 2.02 MB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.4061, allocations: 1.683 MB / 0.7707 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.4061, allocations: 0 / 0.7707 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.352e-05/0.4062, allocations: 19.8 kB / 0.7707 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.4063, allocations: 51.55 kB / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.4072, allocations: 354.8 kB / 0.7711 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.4074, allocations: 231.1 kB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4075, allocations: 49.39 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.4076, allocations: 79.84 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.4078, allocations: 91.66 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.4078, allocations: 20 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.4086, allocations: 415.5 kB / 0.7719 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.4086, allocations: 43.89 kB / 0.772 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.4087, allocations: 95.59 kB / 0.7721 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.4093, allocations: 432.3 kB / 0.7725 GB, free: 14.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4093, allocations: 4 kB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4093, allocations: 0 / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.4093, allocations: 0 / 0.7725 GB, free: 14.36 MB / 0.545 GB 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.0008803/0.4102, allocations: 0.5295 MB / 0.773 GB, free: 13.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.4102, allocations: 12.03 kB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.4114, allocations: 140.6 kB / 0.7731 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.4116, allocations: 184.2 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.4117, allocations: 53.94 kB / 0.7734 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.4117, allocations: 20.38 kB / 0.7734 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.4123, allocations: 219.1 kB / 0.7736 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4123, allocations: 3.938 kB / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.4123, allocations: 8 kB / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4123, allocations: 4 kB / 0.7736 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.4131, allocations: 227.9 kB / 0.7738 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.4146, allocations: 0.9586 MB / 0.7748 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.4151, allocations: 174.5 kB / 0.7749 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.4154, allocations: 100.8 kB / 0.775 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/0.4162, allocations: 0.5259 MB / 0.7755 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.4162, allocations: 34.56 kB / 0.7756 GB, free: 10.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.4162, allocations: 0 / 0.7756 GB, free: 10.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001204/0.4174, allocations: 332.6 kB / 0.7759 GB, free: 10.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.4174, allocations: 55.41 kB / 0.7759 GB, free: 10.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4176, allocations: 161.5 kB / 0.7761 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.4176, allocations: 33.7 kB / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.4177, allocations: 120.3 kB / 0.7762 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.4178, allocations: 59.48 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.4179, allocations: 37.7 kB / 0.7763 GB, free: 10.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.418, allocations: 322.8 kB / 0.7766 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.4184, allocations: 107.9 kB / 0.7767 GB, free: 9.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.4188, allocations: 122.6 kB / 0.7769 GB, free: 9.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.4195, allocations: 199.5 kB / 0.777 GB, free: 9.254 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4195, allocations: 0 / 0.777 GB, free: 9.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008387/0.4203, allocations: 275.4 kB / 0.7773 GB, free: 8.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4203, allocations: 4 kB / 0.7773 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4203, allocations: 0 / 0.7773 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4203, allocations: 8.031 kB / 0.7773 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.4207, allocations: 51.89 kB / 0.7774 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4207, allocations: 0 / 0.7774 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.421, allocations: 35.86 kB / 0.7774 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.421, allocations: 8 kB / 0.7774 GB, free: 8.875 MB / 0.545 GB 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.0001205/0.4212, allocations: 128.2 kB / 0.7775 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.4212, allocations: 15.91 kB / 0.7775 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008632/0.4221, allocations: 266.7 kB / 0.7778 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4221, allocations: 3.938 kB / 0.7778 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4221, allocations: 0 / 0.7778 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4221, allocations: 7.984 kB / 0.7778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.424, allocations: 1.074 MB / 0.7789 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.424, allocations: 11.88 kB / 0.7789 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4243, allocations: 35.97 kB / 0.7789 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4243, allocations: 4 kB / 0.7789 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.4244, allocations: 7.938 kB / 0.7789 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4244, allocations: 0 / 0.7789 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4244, allocations: 8.062 kB / 0.7789 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.4252, allocations: 348.9 kB / 0.7793 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.4252, allocations: 92.94 kB / 0.7793 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.4253, allocations: 8 kB / 0.7794 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.4256, allocations: 23.97 kB / 0.7794 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4257, allocations: 15.98 kB / 0.7794 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.4257, allocations: 7.984 kB / 0.7794 GB, free: 6.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.135e-05/0.4258, allocations: 113.3 kB / 0.7795 GB, free: 6.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4258, allocations: 4 kB / 0.7795 GB, free: 6.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004494/0.4262, allocations: 135.5 kB / 0.7796 GB, free: 6.379 MB / 0.545 GB 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.0004054/0.4266, allocations: 226.7 kB / 0.7799 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008199/0.4274, allocations: 223.8 kB / 0.7801 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4274, allocations: 0 / 0.7801 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.4278, allocations: 112.1 kB / 0.7802 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.4282, allocations: 54.58 kB / 0.7802 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.4304, allocations: 476 kB / 0.7807 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4308, allocations: 0.7086 MB / 0.7814 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.4309, allocations: 37.67 kB / 0.7814 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.431, allocations: 23.42 kB / 0.7814 GB, free: 4.48 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.431, allocations: 3.938 kB / 0.7814 GB, free: 4.477 MB / 0.545 GB Notification: Performance of Templates: time 0.008805/0.4398, allocations: 4.567 MB / 0.7859 GB, free: 15.96 MB / 0.5606 GB 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)