Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 104.4 kB / 16.27 MB, free: 5.891 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.001741/0.00174, allocations: 183.8 kB / 17.19 MB, free: 5.535 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6617/0.6617, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2634, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002466/0.2659, allocations: 2.01 MB / 0.5692 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2676, allocations: 1.662 MB / 0.5709 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.2677, allocations: 2.875 kB / 0.5709 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.209e-05/0.2678, allocations: 18.31 kB / 0.5709 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.2679, allocations: 50.72 kB / 0.5709 GB, free: 30 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.2686, allocations: 356.9 kB / 0.5713 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.2688, allocations: 230.2 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2689, allocations: 60.81 kB / 0.5716 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.269, allocations: 84.09 kB / 0.5716 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.2691, allocations: 94.25 kB / 0.5717 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.2692, allocations: 21.97 kB / 0.5717 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.2698, allocations: 397.9 kB / 0.5721 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.2698, allocations: 43.66 kB / 0.5722 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.2699, allocations: 95.17 kB / 0.5723 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.2704, allocations: 432.8 kB / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2704, allocations: 5.219 kB / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2704, allocations: 0 / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2704, allocations: 0.6875 kB / 0.5727 GB, free: 29.26 MB / 446.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.0006508/0.2711, allocations: 0.525 MB / 0.5732 GB, free: 28.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2711, allocations: 9.656 kB / 0.5732 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.2711, allocations: 52.19 kB / 0.5732 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.2722, allocations: 137.4 kB / 0.5734 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.874e-05/0.2723, allocations: 183 kB / 0.5736 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.2723, allocations: 50.94 kB / 0.5736 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2724, allocations: 18.75 kB / 0.5736 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.2729, allocations: 221.5 kB / 0.5738 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2729, allocations: 2.062 kB / 0.5738 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.2729, allocations: 9.469 kB / 0.5738 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.2729, allocations: 4.938 kB / 0.5738 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/0.2736, allocations: 234.1 kB / 0.5741 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.2747, allocations: 0.9706 MB / 0.575 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.2751, allocations: 176.2 kB / 0.5752 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.2755, allocations: 111.3 kB / 0.5753 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004713/0.2759, allocations: 0.5205 MB / 0.5758 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.276, allocations: 37.94 kB / 0.5758 GB, free: 26.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.276, allocations: 0 / 0.5758 GB, free: 26.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001045/0.277, allocations: 331.5 kB / 0.5762 GB, free: 26.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.2771, allocations: 54.2 kB / 0.5762 GB, free: 26.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.2772, allocations: 161.4 kB / 0.5764 GB, free: 26.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2772, allocations: 36.77 kB / 0.5764 GB, free: 26.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.2772, allocations: 119 kB / 0.5765 GB, free: 26.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.2773, allocations: 55.84 kB / 0.5766 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.2773, allocations: 41.05 kB / 0.5766 GB, free: 26.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.2774, allocations: 329.8 kB / 0.5769 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.2777, allocations: 98.64 kB / 0.577 GB, free: 25.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.2781, allocations: 125.2 kB / 0.5771 GB, free: 25.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.2787, allocations: 199.5 kB / 0.5773 GB, free: 25.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2787, allocations: 0.625 kB / 0.5773 GB, free: 25.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000715/0.2794, allocations: 268 kB / 0.5776 GB, free: 25.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2794, allocations: 5.516 kB / 0.5776 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2794, allocations: 5.062 kB / 0.5776 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2794, allocations: 6.062 kB / 0.5776 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.2798, allocations: 48.89 kB / 0.5776 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2798, allocations: 5.531 kB / 0.5776 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.28, allocations: 38.28 kB / 0.5777 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.2801, allocations: 6.875 kB / 0.5777 GB, free: 25.6 MB / 446.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 7.506e-05/0.2801, allocations: 125.2 kB / 0.5778 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.2802, allocations: 17.73 kB / 0.5778 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007428/0.2809, allocations: 258.5 kB / 0.5781 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.281, allocations: 6.906 kB / 0.5781 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.281, allocations: 0.6094 kB / 0.5781 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.281, allocations: 0.5156 kB / 0.5781 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.2824, allocations: 1.076 MB / 0.5791 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2824, allocations: 1.375 kB / 0.5791 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.2827, allocations: 39.62 kB / 0.5792 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2827, allocations: 5.469 kB / 0.5792 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2827, allocations: 2.875 kB / 0.5792 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2827, allocations: 1.375 kB / 0.5792 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2827, allocations: 1.375 kB / 0.5792 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.2834, allocations: 354 kB / 0.5795 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.2835, allocations: 104 kB / 0.5796 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.2835, allocations: 1.375 kB / 0.5796 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.2838, allocations: 29.89 kB / 0.5796 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.2839, allocations: 9.625 kB / 0.5796 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2839, allocations: 5.391 kB / 0.5797 GB, free: 24.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.2839, allocations: 128.4 kB / 0.5798 GB, free: 23.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2839, allocations: 0 / 0.5798 GB, free: 23.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.2843, allocations: 134.3 kB / 0.5799 GB, free: 23.95 MB / 446.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.001072/0.2854, allocations: 1.001 MB / 0.5809 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006971/0.2861, allocations: 245.4 kB / 0.5811 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2861, allocations: 0 / 0.5811 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.2865, allocations: 109.1 kB / 0.5812 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2868, allocations: 48.83 kB / 0.5813 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.291, allocations: 2.371 MB / 0.5836 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2911, allocations: 0.7105 MB / 0.5843 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.2913, allocations: 30.53 kB / 0.5843 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.2914, allocations: 46.83 kB / 0.5844 GB, free: 20.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2914, allocations: 0 / 0.5844 GB, free: 20.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.361/1.652, allocations: 6.284 MB / 0.5905 GB, free: 17.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.114/10.77, allocations: 10.27 kB / 0.5905 GB, free: 17.44 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)