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.001045/0.001044, allocations: 105.2 kB / 16.27 MB, free: 5.953 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.001084/0.001084, allocations: 189.1 kB / 17.19 MB, free: 5.59 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.245/1.245, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.723/0.723, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.4912 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002608/0.3047, allocations: 2.007 MB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3065, allocations: 1.658 MB / 0.5709 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.3065, allocations: 1.906 kB / 0.5709 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.541e-05/0.3066, allocations: 20.67 kB / 0.5709 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.3067, allocations: 50.62 kB / 0.5709 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.3075, allocations: 365.6 kB / 0.5713 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.3077, allocations: 227.1 kB / 0.5715 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3078, allocations: 62.39 kB / 0.5716 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.3079, allocations: 81.11 kB / 0.5716 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3081, allocations: 100.6 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3081, allocations: 20.28 kB / 0.5718 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006683/0.3088, allocations: 393.2 kB / 0.5721 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.3088, allocations: 47.2 kB / 0.5722 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.3089, allocations: 91.66 kB / 0.5723 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.3094, allocations: 432 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3094, allocations: 5.625 kB / 0.5727 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3094, allocations: 0 / 0.5727 GB, free: 29.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3094, allocations: 1.406 kB / 0.5727 GB, free: 29.34 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.0006924/0.3101, allocations: 0.5242 MB / 0.5732 GB, free: 28.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3102, allocations: 9.781 kB / 0.5732 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.3102, allocations: 56.69 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3113, allocations: 136 kB / 0.5734 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.3114, allocations: 182.3 kB / 0.5736 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.3115, allocations: 56.28 kB / 0.5736 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.3115, allocations: 14.97 kB / 0.5736 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.3121, allocations: 220.7 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3121, allocations: 1.812 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.3121, allocations: 6.906 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3121, allocations: 4.031 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.3129, allocations: 232.6 kB / 0.5741 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3141, allocations: 0.9639 MB / 0.575 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.3146, allocations: 188.1 kB / 0.5752 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.3149, allocations: 109.9 kB / 0.5753 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/0.3155, allocations: 0.5231 MB / 0.5758 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3155, allocations: 38.34 kB / 0.5758 GB, free: 26.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.3155, allocations: 0 / 0.5758 GB, free: 26.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001125/0.3166, allocations: 324.3 kB / 0.5762 GB, free: 26.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.3167, allocations: 53.66 kB / 0.5762 GB, free: 26.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3168, allocations: 166.4 kB / 0.5764 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3168, allocations: 35.77 kB / 0.5764 GB, free: 26.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.3169, allocations: 115.7 kB / 0.5765 GB, free: 26.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.3169, allocations: 59.62 kB / 0.5766 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.317, allocations: 40.11 kB / 0.5766 GB, free: 26.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.317, allocations: 328.8 kB / 0.5769 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.3174, allocations: 101.1 kB / 0.577 GB, free: 25.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.3178, allocations: 129.6 kB / 0.5771 GB, free: 25.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.3184, allocations: 194.2 kB / 0.5773 GB, free: 25.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3184, allocations: 0 / 0.5773 GB, free: 25.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007602/0.3192, allocations: 269.1 kB / 0.5776 GB, free: 25.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3192, allocations: 5.781 kB / 0.5776 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3192, allocations: 0.7969 kB / 0.5776 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3192, allocations: 7.531 kB / 0.5776 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.3196, allocations: 50.58 kB / 0.5776 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3196, allocations: 2.594 kB / 0.5776 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.3199, allocations: 33.81 kB / 0.5777 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3199, allocations: 10.31 kB / 0.5777 GB, free: 25.69 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 8.744e-05/0.32, allocations: 126 kB / 0.5778 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3201, allocations: 11.88 kB / 0.5778 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008074/0.3209, allocations: 267.5 kB / 0.5781 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3209, allocations: 7.203 kB / 0.5781 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3209, allocations: 1.812 kB / 0.5781 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3209, allocations: 2.609 kB / 0.5781 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3225, allocations: 1.067 MB / 0.5791 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3225, allocations: 0 / 0.5791 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.3228, allocations: 39.58 kB / 0.5792 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3228, allocations: 6.219 kB / 0.5792 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3228, allocations: 7.547 kB / 0.5792 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3229, allocations: 6.016 kB / 0.5792 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3229, allocations: 4.625 kB / 0.5792 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.3236, allocations: 350.3 kB / 0.5795 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.3236, allocations: 93.73 kB / 0.5796 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.3237, allocations: 6.031 kB / 0.5796 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.324, allocations: 29.19 kB / 0.5796 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3241, allocations: 14.19 kB / 0.5797 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3241, allocations: 6.203 kB / 0.5797 GB, free: 24.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.3241, allocations: 118.2 kB / 0.5798 GB, free: 24.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3242, allocations: 4 kB / 0.5798 GB, free: 24.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.3246, allocations: 138.2 kB / 0.5799 GB, free: 24.04 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.001193/0.3258, allocations: 1.001 MB / 0.5809 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.3266, allocations: 235.8 kB / 0.5811 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3266, allocations: 5.531 kB / 0.5811 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.327, allocations: 109.1 kB / 0.5812 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3274, allocations: 43.59 kB / 0.5813 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.332, allocations: 2.371 MB / 0.5836 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.3322, allocations: 0.7075 MB / 0.5843 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.3324, allocations: 34.3 kB / 0.5843 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3325, allocations: 46.34 kB / 0.5843 GB, free: 20.68 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3325, allocations: 1.094 kB / 0.5843 GB, free: 20.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/0.4169, allocations: 6.288 MB / 0.5905 GB, free: 17.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.976, allocations: 2.641 kB / 0.5905 GB, free: 17.52 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)