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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002484/0.002484, allocations: 296 kB / 312.7 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.176/1.176, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 105.8 kB / 0.7395 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1723, allocations: 95.39 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003268/0.1756, allocations: 1.968 MB / 0.8346 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.1782, allocations: 1.525 MB / 0.8361 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.1783, allocations: 3.938 kB / 0.8361 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.843e-05/0.1784, allocations: 19.78 kB / 0.8361 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1785, allocations: 55.48 kB / 0.8361 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009691/0.1794, allocations: 362.8 kB / 0.8365 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.1797, allocations: 231.1 kB / 0.8367 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1798, allocations: 37.78 kB / 0.8367 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.18, allocations: 87.72 kB / 0.8368 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1801, allocations: 87.64 kB / 0.8369 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1801, allocations: 20 kB / 0.8369 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007446/0.1809, allocations: 403.5 kB / 0.8373 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.1809, allocations: 43.89 kB / 0.8373 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.502e-05/0.181, allocations: 87.7 kB / 0.8374 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.1816, allocations: 442.6 kB / 0.8379 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1816, allocations: 0 / 0.8379 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1816, allocations: 3.938 kB / 0.8379 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1816, allocations: 0 / 0.8379 GB, free: 2.961 MB / 0.5762 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.0008169/0.1824, allocations: 461.2 kB / 0.8383 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1825, allocations: 9.938 kB / 0.8383 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.1825, allocations: 62.72 kB / 0.8384 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1836, allocations: 132.7 kB / 0.8385 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1837, allocations: 130.3 kB / 0.8386 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.1838, allocations: 83.89 kB / 0.8387 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1838, allocations: 20.38 kB / 0.8387 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.1844, allocations: 281 kB / 0.839 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1844, allocations: 0 / 0.839 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.1845, allocations: 12 kB / 0.839 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1845, allocations: 4 kB / 0.839 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.1849, allocations: 155.9 kB / 0.8391 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1864, allocations: 0.7205 MB / 0.8399 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.1871, allocations: 182.5 kB / 0.84 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.1875, allocations: 104.8 kB / 0.8401 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/0.1879, allocations: 83.91 kB / 0.8402 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1879, allocations: 34.56 kB / 0.8402 GB, free: 368 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.1879, allocations: 3.938 kB / 0.8402 GB, free: 364 kB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.01142/0.1994, allocations: 1.393 MB / 0.8416 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1994, allocations: 55.41 kB / 0.8417 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1996, allocations: 164.7 kB / 0.8418 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.1996, allocations: 29.7 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.1997, allocations: 120.3 kB / 0.842 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.1998, allocations: 59.48 kB / 0.842 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.1999, allocations: 41.69 kB / 0.8421 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2, allocations: 322.8 kB / 0.8424 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.2004, allocations: 111.9 kB / 0.8425 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.2007, allocations: 111.9 kB / 0.8426 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.2014, allocations: 207.2 kB / 0.8428 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2014, allocations: 3.938 kB / 0.8428 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007083/0.2085, allocations: 0.904 MB / 0.8437 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2085, allocations: 4 kB / 0.8437 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2085, allocations: 0 / 0.8437 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.21, allocations: 350.9 kB / 0.844 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.2104, allocations: 51.97 kB / 0.844 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.212, allocations: 0.8371 MB / 0.8449 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.2123, allocations: 27.88 kB / 0.8449 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2123, allocations: 12.14 kB / 0.8449 GB, free: 11.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.2125, allocations: 125.3 kB / 0.845 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.2125, allocations: 19.91 kB / 0.845 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.2141, allocations: 453.6 kB / 0.8455 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2141, allocations: 4 kB / 0.8455 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2141, allocations: 0 / 0.8455 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2141, allocations: 0 / 0.8455 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.2163, allocations: 0.8174 MB / 0.8463 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2163, allocations: 8.031 kB / 0.8463 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.2166, allocations: 51.91 kB / 0.8463 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.218, allocations: 344.5 kB / 0.8467 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.218, allocations: 4 kB / 0.8467 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.2197, allocations: 0.8448 MB / 0.8475 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2197, allocations: 4 kB / 0.8475 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.2208, allocations: 471.7 kB / 0.8479 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.2209, allocations: 15.89 kB / 0.848 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.2209, allocations: 12 kB / 0.848 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2213, allocations: 19.97 kB / 0.848 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2213, allocations: 19.97 kB / 0.848 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2213, allocations: 4 kB / 0.848 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.465e-05/0.2214, allocations: 119.2 kB / 0.8481 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2214, allocations: 0 / 0.8481 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004576/0.2219, allocations: 143.6 kB / 0.8483 GB, free: 7.93 MB / 0.5919 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001822/0.2237, allocations: 1.12 MB / 0.8494 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.2258, allocations: 355.6 kB / 0.8497 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.2258, allocations: 0 / 0.8497 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.2274, allocations: 250.1 kB / 0.8499 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.2279, allocations: 47.02 kB / 0.85 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.2428, allocations: 3.592 MB / 0.8535 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.91e-05/0.2429, allocations: 106.5 kB / 0.8536 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.418e-05/0.243, allocations: 9.656 kB / 0.8536 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.2431, allocations: 39.42 kB / 0.8536 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.2431, allocations: 0 / 0.8536 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.2809, allocations: 8.641 MB / 0.8621 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.44, allocations: 15.28 kB / 0.8621 GB, free: 9.863 MB / 0.6075 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.458878272678703] Failed to read output from testmodel.py, exit status != 0: 12.55835865298286 12.575178687 12.390477077 Calling exit ...