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.001244/0.001244, allocations: 119 kB / 17.17 MB, free: 5.906 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.001295/0.001295, allocations: 211 kB / 20.13 MB, free: 2.969 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.371/1.371, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002352/0.002352, allocations: 284.1 kB / 309.8 MB, free: 3.52 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.019/1.019, allocations: 180.6 MB / 0.5338 GB, free: 12.42 MB / 398.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.002769/0.002769, allocations: 103.9 kB / 0.7347 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4855, allocations: 95.34 MB / 0.8278 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002768/0.4883, allocations: 2.055 MB / 0.8298 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.4903, allocations: 1.69 MB / 0.8314 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.4904, allocations: 2.625 kB / 0.8314 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.837e-05/0.4904, allocations: 20.72 kB / 0.8315 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.4905, allocations: 51.98 kB / 0.8315 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009509/0.4915, allocations: 361.4 kB / 0.8318 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.4917, allocations: 231.9 kB / 0.8321 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.4918, allocations: 35.75 kB / 0.8321 GB, free: 72 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.4919, allocations: 85.36 kB / 0.8322 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.4921, allocations: 91.88 kB / 0.8323 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.4921, allocations: 20.97 kB / 0.8323 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008145/0.4929, allocations: 427.3 kB / 0.8327 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.493, allocations: 42.45 kB / 0.8327 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.4931, allocations: 91.8 kB / 0.8328 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.4937, allocations: 446.1 kB / 0.8333 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4937, allocations: 4 kB / 0.8333 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4937, allocations: 0 / 0.8333 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4937, allocations: 0 / 0.8333 GB, free: 15.63 MB / 0.5919 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.0009278/0.4947, allocations: 0.5282 MB / 0.8338 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4947, allocations: 10.95 kB / 0.8338 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.778e-05/0.4947, allocations: 7.078 kB / 0.8338 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.4948, allocations: 52.03 kB / 0.8338 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.4959, allocations: 138.7 kB / 0.834 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.496, allocations: 181.3 kB / 0.8341 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.924e-05/0.4961, allocations: 50.23 kB / 0.8342 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.4962, allocations: 22.11 kB / 0.8342 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.4968, allocations: 226.1 kB / 0.8344 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4968, allocations: 0 / 0.8344 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.4968, allocations: 6.188 kB / 0.8344 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4968, allocations: 4.484 kB / 0.8344 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.4976, allocations: 236.7 kB / 0.8347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.4991, allocations: 0.9711 MB / 0.8356 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.4996, allocations: 167.4 kB / 0.8358 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.4999, allocations: 102.6 kB / 0.8359 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.5006, allocations: 0.5211 MB / 0.8364 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.5006, allocations: 40.28 kB / 0.8364 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.5006, allocations: 0 / 0.8364 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001182/0.5018, allocations: 337.4 kB / 0.8367 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.5018, allocations: 53.8 kB / 0.8368 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.502, allocations: 153.1 kB / 0.8369 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.502, allocations: 31.89 kB / 0.837 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.5021, allocations: 118.9 kB / 0.8371 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.5022, allocations: 58.47 kB / 0.8371 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5023, allocations: 45.61 kB / 0.8372 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5024, allocations: 330.3 kB / 0.8375 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.5028, allocations: 94.89 kB / 0.8376 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.5032, allocations: 124.9 kB / 0.8377 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.5038, allocations: 201.1 kB / 0.8379 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5038, allocations: 2.031 kB / 0.8379 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008108/0.5047, allocations: 270.6 kB / 0.8382 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5047, allocations: 5.969 kB / 0.8382 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5047, allocations: 0 / 0.8382 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.5047, allocations: 9.875 kB / 0.8382 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.5051, allocations: 54.83 kB / 0.8382 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.5051, allocations: 5.484 kB / 0.8382 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.5054, allocations: 32.27 kB / 0.8383 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.5054, allocations: 10.17 kB / 0.8383 GB, free: 11.89 MB / 0.5919 GB 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 0.0001459/0.5056, allocations: 131.5 kB / 0.8384 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5056, allocations: 15.98 kB / 0.8384 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.5064, allocations: 265.9 kB / 0.8387 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5064, allocations: 2.5 kB / 0.8387 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5064, allocations: 0 / 0.8387 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5064, allocations: 4.656 kB / 0.8387 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.5084, allocations: 1.074 MB / 0.8397 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5084, allocations: 5.156 kB / 0.8397 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.5087, allocations: 38.42 kB / 0.8398 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5087, allocations: 2.312 kB / 0.8398 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.5087, allocations: 2.875 kB / 0.8398 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5087, allocations: 1.688 kB / 0.8398 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5087, allocations: 1.375 kB / 0.8398 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.5095, allocations: 355.6 kB / 0.8401 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.5096, allocations: 104.1 kB / 0.8402 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.5096, allocations: 1.062 kB / 0.8402 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.51, allocations: 29.91 kB / 0.8402 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.51, allocations: 10.83 kB / 0.8402 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.51, allocations: 6.219 kB / 0.8403 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001027/0.5101, allocations: 125.5 kB / 0.8404 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5101, allocations: 0 / 0.8404 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005314/0.5106, allocations: 131.8 kB / 0.8405 GB, free: 10.23 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 (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.001462/0.5121, allocations: 1.009 MB / 0.8415 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008034/0.5129, allocations: 221.6 kB / 0.8417 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5129, allocations: 0 / 0.8417 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.5133, allocations: 109.9 kB / 0.8418 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.5137, allocations: 55.92 kB / 0.8419 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.5189, allocations: 2.373 MB / 0.8442 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.5193, allocations: 0.7164 MB / 0.8449 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.5195, allocations: 30.27 kB / 0.8449 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5196, allocations: 46 kB / 0.8449 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.5196, allocations: 0 / 0.8449 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.5463, allocations: 6.504 MB / 0.8513 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.609, allocations: 4.156 kB / 0.8513 GB, free: 5.844 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.386524429020938] Failed to read output from testmodel.py, exit status != 0: 8.748717137961648 8.772223295 8.274317143 Calling exit ...