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.0007792/0.0007792, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005244/0.005244, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.711/1.711, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005494/0.0005494, allocations: 15.41 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2529, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002371/0.2554, allocations: 1.745 MB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.258, allocations: 1.72 MB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.2581, allocations: 4 kB / 0.7913 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.513e-05/0.2582, allocations: 11.92 kB / 0.7913 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.2584, allocations: 47.61 kB / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.2596, allocations: 296.2 kB / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.2599, allocations: 215.2 kB / 0.7918 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2601, allocations: 49.47 kB / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.2602, allocations: 67.78 kB / 0.7919 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.2604, allocations: 91.66 kB / 0.792 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.2604, allocations: 8 kB / 0.792 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.2612, allocations: 387.5 kB / 0.7924 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.2613, allocations: 39.89 kB / 0.7924 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2614, allocations: 109.3 kB / 0.7925 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.262, allocations: 423.2 kB / 0.7929 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.262, allocations: 4 kB / 0.7929 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.262, allocations: 0 / 0.7929 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.262, allocations: 0 / 0.7929 GB, free: 6.363 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.0008624/0.2629, allocations: 0.4991 MB / 0.7934 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.263, allocations: 11.97 kB / 0.7934 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.2641, allocations: 144.6 kB / 0.7936 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2643, allocations: 176.3 kB / 0.7937 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.2644, allocations: 50.25 kB / 0.7938 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.2644, allocations: 12.38 kB / 0.7938 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.265, allocations: 221.8 kB / 0.794 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.265, allocations: 3.938 kB / 0.794 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.2651, allocations: 8 kB / 0.794 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2651, allocations: 4 kB / 0.794 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.2658, allocations: 239.6 kB / 0.7943 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.2674, allocations: 0.9662 MB / 0.7952 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.2679, allocations: 182.6 kB / 0.7954 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.2683, allocations: 116.8 kB / 0.7955 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.2689, allocations: 0.522 MB / 0.796 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.269, allocations: 34.5 kB / 0.796 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.269, allocations: 0 / 0.796 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001158/0.2702, allocations: 344.2 kB / 0.7964 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2702, allocations: 51.41 kB / 0.7964 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2704, allocations: 158.5 kB / 0.7966 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.2704, allocations: 29.7 kB / 0.7966 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.2705, allocations: 116.2 kB / 0.7967 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.2706, allocations: 59.19 kB / 0.7967 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.2706, allocations: 21.7 kB / 0.7968 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2708, allocations: 338.8 kB / 0.7971 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.2711, allocations: 99.88 kB / 0.7972 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.2715, allocations: 125.7 kB / 0.7973 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.2722, allocations: 204.8 kB / 0.7975 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2722, allocations: 0 / 0.7975 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000796/0.273, allocations: 281.3 kB / 0.7978 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.273, allocations: 4 kB / 0.7978 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.273, allocations: 0 / 0.7978 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.273, allocations: 4 kB / 0.7978 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.2734, allocations: 51.95 kB / 0.7978 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2734, allocations: 3.938 kB / 0.7978 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.2737, allocations: 35.77 kB / 0.7979 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2737, allocations: 7.984 kB / 0.7979 GB, free: 0.875 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 (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.0001226/0.2739, allocations: 133.8 kB / 0.798 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.2739, allocations: 15.81 kB / 0.798 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.2747, allocations: 262.7 kB / 0.7983 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2748, allocations: 4 kB / 0.7983 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2748, allocations: 7.938 kB / 0.7983 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2748, allocations: 0 / 0.7983 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.2766, allocations: 1.084 MB / 0.7993 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2766, allocations: 0 / 0.7993 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.2769, allocations: 47.89 kB / 0.7994 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2769, allocations: 0 / 0.7994 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2769, allocations: 4 kB / 0.7994 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.2769, allocations: 4 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2769, allocations: 3.938 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.2777, allocations: 353.1 kB / 0.7997 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.2778, allocations: 96.86 kB / 0.7998 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.2778, allocations: 11.98 kB / 0.7998 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.2782, allocations: 23.92 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.2782, allocations: 19.97 kB / 0.7999 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.2782, allocations: 4 kB / 0.7999 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.2783, allocations: 121.5 kB / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2783, allocations: 3.938 kB / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004798/0.2788, allocations: 131.9 kB / 0.8001 GB, free: 14.35 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 (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.0004445/0.2793, allocations: 234.3 kB / 0.8003 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000789/0.2801, allocations: 231.8 kB / 0.8006 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2801, allocations: 0 / 0.8006 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.2805, allocations: 116.1 kB / 0.8007 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.2809, allocations: 43.91 kB / 0.8007 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.2831, allocations: 0.5481 MB / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.2834, allocations: 0.7089 MB / 0.802 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.2836, allocations: 33.48 kB / 0.802 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.2837, allocations: 19.44 kB / 0.802 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.2837, allocations: 3.938 kB / 0.802 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of Templates: time 0.008222/0.2919, allocations: 4.39 MB / 0.8063 GB, free: 8.023 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: