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.001496/0.001496, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001672/0.001672, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.318/1.318, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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.002389/0.002389, allocations: 289.5 kB / 312.7 MB, free: 2.797 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.112/1.112, allocations: 180.6 MB / 0.5369 GB, free: 12.94 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.002695/0.002695, allocations: 106 kB / 0.7396 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1657, allocations: 95.38 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003115/0.1688, allocations: 2.068 MB / 0.8347 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.1713, allocations: 1.697 MB / 0.8364 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.1713, allocations: 0 / 0.8364 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.08e-05/0.1714, allocations: 23.78 kB / 0.8364 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1715, allocations: 47.55 kB / 0.8365 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.1724, allocations: 362.7 kB / 0.8368 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.1726, allocations: 231.2 kB / 0.837 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1728, allocations: 37.78 kB / 0.8371 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1729, allocations: 87.72 kB / 0.8372 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.173, allocations: 95.67 kB / 0.8372 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.1731, allocations: 20 kB / 0.8373 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.1738, allocations: 427.5 kB / 0.8377 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.1739, allocations: 39.91 kB / 0.8377 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.174, allocations: 91.64 kB / 0.8378 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.1746, allocations: 454.5 kB / 0.8382 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1746, allocations: 8 kB / 0.8382 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1746, allocations: 0 / 0.8382 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1746, allocations: 0 / 0.8382 GB, free: 2.977 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.0008619/0.1754, allocations: 461.1 kB / 0.8387 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1755, allocations: 13.34 kB / 0.8387 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.1755, allocations: 50.73 kB / 0.8387 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.1766, allocations: 136.7 kB / 0.8389 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1767, allocations: 126.3 kB / 0.839 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1768, allocations: 83.94 kB / 0.8391 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.1768, allocations: 16.38 kB / 0.8391 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.1775, allocations: 233.6 kB / 0.8393 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1775, allocations: 4 kB / 0.8393 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.1775, allocations: 8 kB / 0.8393 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1775, allocations: 7.984 kB / 0.8393 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.178, allocations: 155.9 kB / 0.8395 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.1795, allocations: 0.7672 MB / 0.8402 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.1802, allocations: 186.6 kB / 0.8404 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.1806, allocations: 112.8 kB / 0.8405 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.181, allocations: 67.91 kB / 0.8406 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.181, allocations: 34.56 kB / 0.8406 GB, free: 408 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.181, allocations: 3.938 kB / 0.8406 GB, free: 404 kB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.01172/0.1927, allocations: 1.389 MB / 0.842 GB, free: 15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1928, allocations: 59.41 kB / 0.842 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.193, allocations: 158.4 kB / 0.8422 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.193, allocations: 37.64 kB / 0.8422 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.1931, allocations: 120.3 kB / 0.8423 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.1932, allocations: 59.48 kB / 0.8424 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.1933, allocations: 37.7 kB / 0.8424 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1934, allocations: 322.8 kB / 0.8427 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.1938, allocations: 115.9 kB / 0.8428 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.1941, allocations: 112.5 kB / 0.8429 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.1948, allocations: 207.4 kB / 0.8431 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1948, allocations: 3.938 kB / 0.8432 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007154/0.2019, allocations: 0.894 MB / 0.844 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2019, allocations: 11.94 kB / 0.844 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.202, allocations: 0 / 0.844 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.2034, allocations: 362.8 kB / 0.8444 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.2037, allocations: 43.98 kB / 0.8444 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.2054, allocations: 0.8527 MB / 0.8453 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.2057, allocations: 27.88 kB / 0.8453 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.2057, allocations: 8 kB / 0.8453 GB, free: 11.52 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.000141/0.2058, allocations: 130.5 kB / 0.8454 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.2059, allocations: 15.91 kB / 0.8454 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.2074, allocations: 442 kB / 0.8459 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2074, allocations: 4 kB / 0.8459 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2074, allocations: 0 / 0.8459 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2074, allocations: 4 kB / 0.8459 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.2095, allocations: 0.8562 MB / 0.8467 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2095, allocations: 0 / 0.8467 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.2098, allocations: 48.05 kB / 0.8467 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.2112, allocations: 368 kB / 0.8471 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.2112, allocations: 0 / 0.8471 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.2128, allocations: 0.8372 MB / 0.8479 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2128, allocations: 0 / 0.8479 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2139, allocations: 469.6 kB / 0.8484 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.2139, allocations: 23.88 kB / 0.8484 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.2139, allocations: 0 / 0.8484 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.2143, allocations: 27.97 kB / 0.8484 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.2143, allocations: 11.98 kB / 0.8484 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2143, allocations: 15.92 kB / 0.8484 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001028/0.2144, allocations: 115.2 kB / 0.8485 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2144, allocations: 0 / 0.8485 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004548/0.2149, allocations: 139.5 kB / 0.8487 GB, free: 7.926 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.001732/0.2166, allocations: 1.122 MB / 0.8498 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.2186, allocations: 358.7 kB / 0.8501 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2186, allocations: 0 / 0.8501 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.2202, allocations: 239.8 kB / 0.8503 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2206, allocations: 44.61 kB / 0.8504 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.2351, allocations: 3.599 MB / 0.8539 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2354, allocations: 0.7086 MB / 0.8546 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.033e-05/0.2355, allocations: 20.95 kB / 0.8546 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.2356, allocations: 39.42 kB / 0.8546 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of SimCode: time 5.72e-07/0.2356, allocations: 0 / 0.8546 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.2703, allocations: 8.149 MB / 0.8626 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.77, allocations: 16.78 kB / 0.8626 GB, free: 9.688 MB / 0.6075 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.662665111998649] Failed to read output from testmodel.py, exit status != 0: 11.884656774000177 11.909530839 11.730532634 Calling exit ...