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.001255/0.001255, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001361/0.001361, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002384/0.002384, allocations: 283.5 kB / 313.5 MB, free: 2.812 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.152/1.152, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="cs",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.002619/0.002619, allocations: 108.5 kB / 0.7404 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1634, allocations: 95.38 MB / 0.8335 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003087/0.1665, allocations: 2.066 MB / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1689, allocations: 1.699 MB / 0.8372 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.169, allocations: 4 kB / 0.8372 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.603e-05/0.169, allocations: 19.78 kB / 0.8372 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1691, allocations: 51.55 kB / 0.8372 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.17, allocations: 362.8 kB / 0.8376 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1702, allocations: 227.1 kB / 0.8378 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1704, allocations: 45.78 kB / 0.8378 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1705, allocations: 79.78 kB / 0.8379 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1706, allocations: 95.66 kB / 0.838 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.1706, allocations: 20 kB / 0.838 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.1714, allocations: 423.5 kB / 0.8384 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.1714, allocations: 47.91 kB / 0.8385 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.732e-05/0.1715, allocations: 91.64 kB / 0.8386 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.1721, allocations: 450.5 kB / 0.839 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1721, allocations: 3.938 kB / 0.839 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1721, allocations: 0 / 0.839 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1721, allocations: 0 / 0.839 GB, free: 2.973 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.0008099/0.1729, allocations: 465.2 kB / 0.8394 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.173, allocations: 13.28 kB / 0.8395 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.597e-05/0.173, allocations: 4.422 kB / 0.8395 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.173, allocations: 54.73 kB / 0.8395 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.174, allocations: 136.7 kB / 0.8396 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1742, allocations: 118.4 kB / 0.8398 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/0.1743, allocations: 87.94 kB / 0.8398 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.1743, allocations: 16.38 kB / 0.8399 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.1749, allocations: 233.4 kB / 0.8401 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1749, allocations: 0 / 0.8401 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.1749, allocations: 4 kB / 0.8401 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1749, allocations: 4 kB / 0.8401 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.1754, allocations: 167.8 kB / 0.8403 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1769, allocations: 0.7634 MB / 0.841 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.1775, allocations: 186.5 kB / 0.8412 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.1779, allocations: 112.8 kB / 0.8413 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.1783, allocations: 75.91 kB / 0.8414 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1784, allocations: 34.56 kB / 0.8414 GB, free: 392 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.1784, allocations: 0 / 0.8414 GB, free: 392 kB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0114/0.1898, allocations: 1.397 MB / 0.8428 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1898, allocations: 51.41 kB / 0.8428 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.19, allocations: 165.2 kB / 0.843 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.19, allocations: 29.7 kB / 0.843 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.1901, allocations: 120.3 kB / 0.8431 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.1901, allocations: 59.48 kB / 0.8432 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.1902, allocations: 45.7 kB / 0.8432 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1904, allocations: 318.8 kB / 0.8435 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.1907, allocations: 111.9 kB / 0.8436 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.1911, allocations: 115.9 kB / 0.8437 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.1918, allocations: 211.3 kB / 0.8439 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1918, allocations: 0 / 0.8439 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.006945/0.1987, allocations: 0.8982 MB / 0.8448 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1987, allocations: 7.938 kB / 0.8448 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1987, allocations: 0 / 0.8448 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.2002, allocations: 353.8 kB / 0.8451 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.2006, allocations: 55.92 kB / 0.8452 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.2023, allocations: 0.8371 MB / 0.846 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.2026, allocations: 31.88 kB / 0.846 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2026, allocations: 8 kB / 0.8461 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.0001355/0.2028, allocations: 126.4 kB / 0.8462 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.2028, allocations: 15.91 kB / 0.8462 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.2044, allocations: 457.7 kB / 0.8466 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2044, allocations: 0 / 0.8466 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2044, allocations: 0 / 0.8466 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2044, allocations: 0 / 0.8466 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.2066, allocations: 0.8641 MB / 0.8475 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2066, allocations: 0 / 0.8475 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.2069, allocations: 47.91 kB / 0.8475 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.2083, allocations: 352.5 kB / 0.8479 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2084, allocations: 7.938 kB / 0.8479 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.2101, allocations: 0.8311 MB / 0.8487 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2101, allocations: 4 kB / 0.8487 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.2113, allocations: 473.6 kB / 0.8491 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.2113, allocations: 15.88 kB / 0.8491 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.2113, allocations: 4 kB / 0.8491 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.2117, allocations: 27.97 kB / 0.8492 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2117, allocations: 11.98 kB / 0.8492 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.2117, allocations: 15.86 kB / 0.8492 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001106/0.2118, allocations: 115.3 kB / 0.8493 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2118, allocations: 0 / 0.8493 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004862/0.2123, allocations: 139.5 kB / 0.8494 GB, free: 7.918 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.001904/0.2142, allocations: 1.136 MB / 0.8506 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.2163, allocations: 354.2 kB / 0.8509 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2163, allocations: 0 / 0.8509 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.218, allocations: 239.8 kB / 0.8511 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.2184, allocations: 35.98 kB / 0.8512 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.2333, allocations: 3.603 MB / 0.8547 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2336, allocations: 0.7125 MB / 0.8554 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.705e-05/0.2337, allocations: 13.64 kB / 0.8554 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.2338, allocations: 43.42 kB / 0.8554 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.2338, allocations: 0 / 0.8554 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.2661, allocations: 8.19 MB / 0.8634 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.36, allocations: 8.562 kB / 0.8634 GB, free: 9.656 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 16.45147436700063] Failed to read output from testmodel.py, exit status != 0: 12.52959887997713 12.547184658 12.37178093 Calling exit ...