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.001762/0.001762, allocations: 100.6 kB / 19.73 MB, free: 2.23 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.001908/0.001908, allocations: 220.4 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.381/1.381, 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.002395/0.002395, allocations: 288.2 kB / 313.5 MB, free: 2.785 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.14/1.14, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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.0027/0.0027, allocations: 99.16 kB / 0.7403 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1488, allocations: 95.38 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.00149/0.1503, allocations: 0.5165 MB / 0.834 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.1504, allocations: 27.89 kB / 0.834 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.1504, allocations: 4 kB / 0.834 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.1504, allocations: 3.938 kB / 0.834 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1505, allocations: 4 kB / 0.834 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.1505, allocations: 0 / 0.834 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.636e-05/0.1506, allocations: 7.938 kB / 0.834 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.1506, allocations: 0 / 0.834 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.1507, allocations: 3.984 kB / 0.834 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.311e-05/0.1507, allocations: 7.984 kB / 0.834 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.1507, allocations: 0 / 0.834 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.598e-06/0.1507, allocations: 0 / 0.834 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.1507, allocations: 0 / 0.834 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.1507, allocations: 7.938 kB / 0.834 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.661e-05/0.1508, allocations: 3.938 kB / 0.8341 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1508, allocations: 4 kB / 0.8341 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1508, allocations: 0 / 0.8341 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1508, allocations: 0 / 0.8341 GB, free: 8.047 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002578/0.151, allocations: 242.7 kB / 0.8343 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1511, allocations: 9.344 kB / 0.8343 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/0.1511, allocations: 192 / 0.8343 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.1511, allocations: 38.73 kB / 0.8343 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.787e-05/0.1511, allocations: 4.938 kB / 0.8343 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/0.1512, allocations: 106.9 kB / 0.8344 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1512, allocations: 4.375 kB / 0.8344 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1512, allocations: 4.375 kB / 0.8344 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.1513, allocations: 43.72 kB / 0.8345 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1513, allocations: 4 kB / 0.8345 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.1513, allocations: 0 / 0.8345 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1513, allocations: 0 / 0.8345 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.1514, allocations: 7.938 kB / 0.8345 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1515, allocations: 129.6 kB / 0.8346 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.1515, allocations: 45.2 kB / 0.8347 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.1516, allocations: 9.844 kB / 0.8347 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1516, allocations: 4 kB / 0.8347 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1516, allocations: 42.44 kB / 0.8347 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1516, allocations: 0 / 0.8347 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001236/0.1517, allocations: 45.62 kB / 0.8348 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1518, allocations: 81.11 kB / 0.8348 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/0.1519, allocations: 89.86 kB / 0.8349 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1519, allocations: 26.08 kB / 0.835 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.1519, allocations: 84.14 kB / 0.835 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1519, allocations: 11.95 kB / 0.835 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.152, allocations: 9.719 kB / 0.8351 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1521, allocations: 310.8 kB / 0.8354 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.1521, allocations: 7.984 kB / 0.8354 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.1521, allocations: 9.719 kB / 0.8354 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/0.1521, allocations: 29.72 kB / 0.8354 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1521, allocations: 0 / 0.8354 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.201e-05/0.1522, allocations: 37.7 kB / 0.8354 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1522, allocations: 11.92 kB / 0.8354 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1522, allocations: 0 / 0.8354 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1522, allocations: 4 kB / 0.8354 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.1523, allocations: 4 kB / 0.8355 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1523, allocations: 7.938 kB / 0.8355 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1523, allocations: 8.016 kB / 0.8355 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1523, allocations: 3.938 kB / 0.8355 GB, free: 6.367 MB / 0.5762 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 7.042e-05/0.1524, allocations: 110.5 kB / 0.8356 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.1524, allocations: 3.938 kB / 0.8356 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1525, allocations: 48.62 kB / 0.8356 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1525, allocations: 0 / 0.8356 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.1525, allocations: 0 / 0.8356 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1525, allocations: 8.062 kB / 0.8356 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.1526, allocations: 128.7 kB / 0.8358 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1526, allocations: 0 / 0.8358 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.1526, allocations: 4 kB / 0.8358 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1526, allocations: 3.938 kB / 0.8358 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1526, allocations: 7.938 kB / 0.8358 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1526, allocations: 0 / 0.8358 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1526, allocations: 0 / 0.8358 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.255e-05/0.1527, allocations: 73.92 kB / 0.8358 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.1527, allocations: 7.938 kB / 0.8358 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.1528, allocations: 0 / 0.8358 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.1528, allocations: 0 / 0.8358 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1528, allocations: 7.984 kB / 0.8359 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1528, allocations: 0 / 0.8359 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.1528, allocations: 75.28 kB / 0.8359 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1528, allocations: 0 / 0.8359 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00017/0.153, allocations: 8.125 kB / 0.8359 GB, free: 5.809 MB / 0.5762 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.0003526/0.1533, allocations: 0.5977 MB / 0.8365 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.1534, allocations: 12.03 kB / 0.8365 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1534, allocations: 4.062 kB / 0.8365 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/0.1534, allocations: 4 kB / 0.8365 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1535, allocations: 7.984 kB / 0.8365 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.1538, allocations: 115.5 kB / 0.8367 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1541, allocations: 0.6768 MB / 0.8373 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.49e-05/0.1541, allocations: 0 / 0.8373 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.1541, allocations: 11.56 kB / 0.8373 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1541, allocations: 0 / 0.8373 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.1738, allocations: 1.087 MB / 0.8384 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.64, allocations: 8.734 kB / 0.8384 GB, free: 3.332 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.570138514973223] Failed to read output from testmodel.py, exit status != 0: 10.8018515019794 10.818001596 10.664151841 Calling exit ...