Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008656/0.0008656, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009148/0.0009148, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 292.5 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005992, allocations: 17.34 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2129, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001958/0.2149, allocations: 1.641 MB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2169, allocations: 1.474 MB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.2169, allocations: 0 / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.217, allocations: 19.86 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2171, allocations: 55.8 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.2178, allocations: 271.2 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.218, allocations: 143.7 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2181, allocations: 45.7 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.2182, allocations: 63.84 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2183, allocations: 91.66 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.2183, allocations: 8 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006563/0.219, allocations: 383.5 kB / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.2191, allocations: 39.88 kB / 0.7912 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.2191, allocations: 53.64 kB / 0.7913 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.2195, allocations: 315.5 kB / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2195, allocations: 0 / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.278e-06/0.2195, allocations: 0 / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2195, allocations: 3.938 kB / 0.7916 GB, free: 7.355 MB / 0.6075 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.0007455/0.2203, allocations: 0.495 MB / 0.7921 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2203, allocations: 12.03 kB / 0.7921 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2214, allocations: 139.8 kB / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2215, allocations: 182.8 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.2216, allocations: 49.69 kB / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.2217, allocations: 16 kB / 0.7924 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.2222, allocations: 217.3 kB / 0.7927 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2222, allocations: 3.938 kB / 0.7927 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.2223, allocations: 4 kB / 0.7927 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2223, allocations: 4 kB / 0.7927 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.223, allocations: 247.6 kB / 0.7929 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.2243, allocations: 0.9702 MB / 0.7938 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.2248, allocations: 178.6 kB / 0.794 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.2254, allocations: 0.522 MB / 0.7945 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2255, allocations: 34.56 kB / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2255, allocations: 0 / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001095/0.2266, allocations: 341.6 kB / 0.7949 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2266, allocations: 55.34 kB / 0.7949 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2268, allocations: 158.4 kB / 0.7951 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.2268, allocations: 29.7 kB / 0.7951 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.2269, allocations: 116.2 kB / 0.7952 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.2269, allocations: 59.19 kB / 0.7953 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.2269, allocations: 4 kB / 0.7953 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2271, allocations: 326.8 kB / 0.7956 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.2274, allocations: 108.3 kB / 0.7957 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.2277, allocations: 125 kB / 0.7958 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.2281, allocations: 92.91 kB / 0.7959 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2281, allocations: 0 / 0.7959 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000744/0.2288, allocations: 282.1 kB / 0.7962 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2288, allocations: 4 kB / 0.7962 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2289, allocations: 0 / 0.7962 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2289, allocations: 4 kB / 0.7962 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.2292, allocations: 47.95 kB / 0.7962 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2292, allocations: 3.938 kB / 0.7962 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.2295, allocations: 39.73 kB / 0.7963 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2296, allocations: 7.953 kB / 0.7963 GB, free: 2.129 MB / 0.6075 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.2297, allocations: 129.8 kB / 0.7964 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2297, allocations: 11.91 kB / 0.7964 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008152/0.2305, allocations: 274.5 kB / 0.7967 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2305, allocations: 4 kB / 0.7967 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2306, allocations: 3.984 kB / 0.7967 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2306, allocations: 0 / 0.7967 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.2322, allocations: 1.073 MB / 0.7977 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2322, allocations: 4 kB / 0.7977 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.2325, allocations: 44.02 kB / 0.7978 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2325, allocations: 4 kB / 0.7978 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.2326, allocations: 7.938 kB / 0.7978 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.2326, allocations: 7.953 kB / 0.7978 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.2326, allocations: 0 / 0.7978 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.2333, allocations: 370.8 kB / 0.7982 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.2334, allocations: 100.8 kB / 0.7982 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.2334, allocations: 11.98 kB / 0.7983 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.2338, allocations: 19.98 kB / 0.7983 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2338, allocations: 19.97 kB / 0.7983 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2338, allocations: 8 kB / 0.7983 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.779e-05/0.2339, allocations: 125.5 kB / 0.7984 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2339, allocations: 4 kB / 0.7984 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000444/0.2344, allocations: 127.9 kB / 0.7986 GB, free: 15.57 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003894/0.2348, allocations: 219.1 kB / 0.7988 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007391/0.2355, allocations: 243.8 kB / 0.799 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2355, allocations: 0 / 0.799 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.2359, allocations: 111.9 kB / 0.7991 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2362, allocations: 44.06 kB / 0.7991 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.2383, allocations: 0.5325 MB / 0.7997 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2385, allocations: 0.7128 MB / 0.8004 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.2387, allocations: 32.36 kB / 0.8004 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.2388, allocations: 23.44 kB / 0.8004 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2388, allocations: 0 / 0.8004 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.007819/0.2466, allocations: 4.308 MB / 0.8046 GB, free: 9.34 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) Environment - environmentSimulation: