Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.0007491/0.0007491, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000701/0.000701, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8246/0.8246, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 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.001543/0.001543, allocations: 235.7 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6535/0.6535, allocations: 138.4 MB / 454.3 MB, free: 30.08 MB / 410.7 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.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.177e-06/1.034e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.0009223/0.0009327, allocations: 0.5273 MB / 0.6468 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001055/0.001038, allocations: 23.84 kB / 0.6468 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.001059, allocations: 4 kB / 0.6468 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.001072, allocations: 0 / 0.6468 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.001202, allocations: 0 / 0.6468 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.918e-06/0.001206, allocations: 4 kB / 0.6468 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.155e-05/0.001258, allocations: 0 / 0.6468 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.001297, allocations: 8 kB / 0.6468 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.001345, allocations: 3.938 kB / 0.6468 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.00138, allocations: 3.984 kB / 0.6468 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.001394, allocations: 0 / 0.6468 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-06/0.001399, allocations: 4 kB / 0.6468 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.00141, allocations: 3.984 kB / 0.6468 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.252e-05/0.001422, allocations: 4 kB / 0.6468 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 4.214e-05/0.001464, allocations: 0 / 0.6468 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.001466, allocations: 0 / 0.6468 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.22e-07/0.001467, allocations: 0 / 0.6468 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.00147, allocations: 0 / 0.6468 GB, free: 1.332 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002087/0.001679, allocations: 238.4 kB / 0.6471 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.001718, allocations: 13.92 kB / 0.6471 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.505e-05/0.001743, allocations: 34.75 kB / 0.6471 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.522e-05/0.001758, allocations: 0.9375 kB / 0.6471 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.997e-05/0.001818, allocations: 113.7 kB / 0.6472 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.001826, allocations: 4.375 kB / 0.6472 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.001832, allocations: 8.25 kB / 0.6472 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.89e-05/0.001911, allocations: 39.98 kB / 0.6473 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.001918, allocations: 192 / 0.6473 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.001926, allocations: 4.375 kB / 0.6473 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.001932, allocations: 8.109 kB / 0.6473 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.001951, allocations: 7.938 kB / 0.6473 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.002056, allocations: 121.6 kB / 0.6474 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.146e-05/0.002098, allocations: 37.22 kB / 0.6474 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.002117, allocations: 18.48 kB / 0.6475 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.002137, allocations: 7.984 kB / 0.6475 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.002153, allocations: 30.56 kB / 0.6475 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.002154, allocations: 0 / 0.6475 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.000118/0.002272, allocations: 45.64 kB / 0.6475 GB, free: 464 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.002306, allocations: 81.05 kB / 0.6476 GB, free: 364 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.202e-05/0.002348, allocations: 97.84 kB / 0.6477 GB, free: 256 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.002358, allocations: 25.7 kB / 0.6477 GB, free: 224 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.002376, allocations: 80.14 kB / 0.6478 GB, free: 140 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.002396, allocations: 8.328 kB / 0.6478 GB, free: 132 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.002418, allocations: 17.72 kB / 0.6478 GB, free: 108 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.2327/0.2352, allocations: 310.8 kB / 0.6481 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.2352, allocations: 0 / 0.6481 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.806e-05/0.2352, allocations: 12.75 kB / 0.6481 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.2353, allocations: 23.16 kB / 0.6482 GB, free: 56.74 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2353, allocations: 0 / 0.6482 GB, free: 56.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.171e-05/0.2353, allocations: 40.89 kB / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2354, allocations: 6.844 kB / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2354, allocations: 3.25 kB / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2354, allocations: 0.8906 kB / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.2355, allocations: 9.188 kB / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2355, allocations: 1.562 kB / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.2355, allocations: 1.875 kB / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.2355, allocations: 0 / 0.6482 GB, free: 56.71 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.166e-05/0.2355, allocations: 109.6 kB / 0.6483 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.2355, allocations: 1.812 kB / 0.6483 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.2356, allocations: 56.95 kB / 0.6484 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2357, allocations: 4.5 kB / 0.6484 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2357, allocations: 1.469 kB / 0.6484 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2357, allocations: 1.688 kB / 0.6484 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.091e-05/0.2357, allocations: 115.2 kB / 0.6485 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2357, allocations: 5.25 kB / 0.6485 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.2357, allocations: 2.844 kB / 0.6485 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2357, allocations: 2.094 kB / 0.6485 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2357, allocations: 5.531 kB / 0.6485 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2357, allocations: 5.156 kB / 0.6485 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2357, allocations: 4.078 kB / 0.6485 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.502e-05/0.2358, allocations: 68.02 kB / 0.6486 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.2358, allocations: 3.094 kB / 0.6486 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.2358, allocations: 5.5 kB / 0.6486 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.2359, allocations: 4.781 kB / 0.6486 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.2359, allocations: 2.281 kB / 0.6486 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2359, allocations: 1.766 kB / 0.6486 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.348e-05/0.2359, allocations: 80.03 kB / 0.6487 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2359, allocations: 2.031 kB / 0.6487 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001196/0.236, allocations: 2.438 kB / 0.6487 GB, free: 56.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001709/0.2362, allocations: 0.5979 MB / 0.6493 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/0.2362, allocations: 16.97 kB / 0.6493 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2362, allocations: 0 / 0.6493 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-06/0.2363, allocations: 4.672 kB / 0.6493 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.2364, allocations: 10.42 kB / 0.6493 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.2366, allocations: 118.1 kB / 0.6494 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.2367, allocations: 56.55 kB / 0.6495 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.2367, allocations: 1.656 kB / 0.6495 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.2367, allocations: 10.67 kB / 0.6495 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of SimCode: time 5.1e-07/0.2367, allocations: 1.75 kB / 0.6495 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.2528, allocations: 1.577 MB / 0.651 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.375/6.628, allocations: 14.06 kB / 0.651 GB, free: 54.69 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.04781989660114] Failed to read output from testmodel.py, exit status != 0: 6.703635934740305 6.711503608 6.708065414 Calling exit ...