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.001277/0.001277, 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.001554/0.001554, allocations: 210.5 kB / 22.24 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.801 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.002339/0.002339, allocations: 293.2 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.125/1.125, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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.002864/0.002864, allocations: 95.09 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.162, allocations: 95.4 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003215/0.1652, allocations: 1.972 MB / 0.8346 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.1679, allocations: 1.524 MB / 0.8361 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.168, allocations: 8 kB / 0.8361 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.823e-05/0.1681, allocations: 23.78 kB / 0.8361 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1682, allocations: 51.55 kB / 0.8361 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1693, allocations: 354.8 kB / 0.8365 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1696, allocations: 227.1 kB / 0.8367 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1697, allocations: 49.77 kB / 0.8367 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1698, allocations: 83.78 kB / 0.8368 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1699, allocations: 83.66 kB / 0.8369 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.17, allocations: 20 kB / 0.8369 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007491/0.1707, allocations: 415.4 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.1708, allocations: 43.89 kB / 0.8374 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.1709, allocations: 75.72 kB / 0.8374 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.1715, allocations: 454.5 kB / 0.8379 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1715, allocations: 0 / 0.8379 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1715, allocations: 4 kB / 0.8379 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.1715, allocations: 0 / 0.8379 GB, free: 2.941 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.0009098/0.1724, allocations: 465.1 kB / 0.8383 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1725, allocations: 9.938 kB / 0.8383 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.1725, allocations: 50.73 kB / 0.8384 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.1736, allocations: 140.7 kB / 0.8385 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1737, allocations: 122.4 kB / 0.8386 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1738, allocations: 75.95 kB / 0.8387 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1738, allocations: 16.38 kB / 0.8387 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.1744, allocations: 284.9 kB / 0.839 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1745, allocations: 4 kB / 0.839 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.1745, allocations: 4 kB / 0.839 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1745, allocations: 4 kB / 0.839 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.175, allocations: 167.9 kB / 0.8392 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1764, allocations: 0.7088 MB / 0.8398 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.1771, allocations: 186.5 kB / 0.84 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.1775, allocations: 120.8 kB / 0.8401 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004278/0.1779, allocations: 75.91 kB / 0.8402 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.178, allocations: 34.56 kB / 0.8402 GB, free: 356 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.178, allocations: 0 / 0.8402 GB, free: 356 kB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.01128/0.1892, allocations: 1.392 MB / 0.8416 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1893, allocations: 51.41 kB / 0.8417 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1895, allocations: 169.3 kB / 0.8418 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.1895, allocations: 29.7 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.1896, allocations: 116.4 kB / 0.842 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.1897, allocations: 59.47 kB / 0.842 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.1897, allocations: 41.7 kB / 0.842 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1899, allocations: 326.8 kB / 0.8424 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.1903, allocations: 111.9 kB / 0.8425 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.1906, allocations: 111.9 kB / 0.8426 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.1913, allocations: 204.8 kB / 0.8428 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1913, allocations: 7.875 kB / 0.8428 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.006785/0.1981, allocations: 0.9016 MB / 0.8437 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1981, allocations: 12 kB / 0.8437 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1981, allocations: 0 / 0.8437 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.1995, allocations: 347.2 kB / 0.844 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.1999, allocations: 51.97 kB / 0.844 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2016, allocations: 0.8448 MB / 0.8449 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.2018, allocations: 27.88 kB / 0.8449 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.2019, allocations: 11.98 kB / 0.8449 GB, free: 11.48 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.0001412/0.202, allocations: 126.5 kB / 0.845 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.2021, allocations: 15.91 kB / 0.845 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.2036, allocations: 447 kB / 0.8455 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2036, allocations: 0 / 0.8455 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2036, allocations: 0 / 0.8455 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2036, allocations: 0 / 0.8455 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.2057, allocations: 0.8197 MB / 0.8463 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2057, allocations: 4 kB / 0.8463 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.206, allocations: 48.05 kB / 0.8463 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.2074, allocations: 360.3 kB / 0.8467 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.2074, allocations: 4 kB / 0.8467 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.2091, allocations: 0.8393 MB / 0.8475 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2091, allocations: 4 kB / 0.8475 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.2103, allocations: 469.6 kB / 0.8479 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.2103, allocations: 11.89 kB / 0.848 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.2103, allocations: 8 kB / 0.848 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.2106, allocations: 27.97 kB / 0.848 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.2107, allocations: 15.91 kB / 0.848 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2107, allocations: 4 kB / 0.848 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.493e-05/0.2108, allocations: 127.5 kB / 0.8481 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2108, allocations: 0 / 0.8481 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004499/0.2112, allocations: 139.6 kB / 0.8483 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.001859/0.2131, allocations: 1.124 MB / 0.8494 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.2152, allocations: 361.6 kB / 0.8497 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2152, allocations: 3.938 kB / 0.8497 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.2167, allocations: 235.8 kB / 0.8499 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.2172, allocations: 60.06 kB / 0.85 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.2318, allocations: 3.586 MB / 0.8535 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.2319, allocations: 102.5 kB / 0.8536 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.333e-05/0.232, allocations: 17.64 kB / 0.8536 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.2321, allocations: 39.42 kB / 0.8536 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.2321, allocations: 0 / 0.8536 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.2688, allocations: 8.637 MB / 0.8621 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.25, allocations: 10.47 kB / 0.8621 GB, free: 9.855 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 & /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 os._exit(0), Time elapsed: 16.1369393421337] Failed to read output from testmodel.py, exit status != 0: 12.3718669032678 12.399641273 12.223309518 Calling exit ...