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.001173/0.001173, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001304/0.001304, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.382/1.382, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002305/0.002305, allocations: 281.6 kB / 309.8 MB, free: 3.465 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.042/1.042, allocations: 180.6 MB / 0.5338 GB, free: 12.36 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.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.002671/0.002671, allocations: 105.7 kB / 0.7347 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4364, allocations: 95.35 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001564/0.438, allocations: 0.5194 MB / 0.8283 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.4381, allocations: 15.3 kB / 0.8283 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.4381, allocations: 1.406 kB / 0.8283 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.4381, allocations: 7.938 kB / 0.8283 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.4382, allocations: 5.609 kB / 0.8283 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.946e-06/0.4382, allocations: 0 / 0.8283 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.4383, allocations: 8.219 kB / 0.8283 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.4383, allocations: 2.219 kB / 0.8283 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.4384, allocations: 9.734 kB / 0.8283 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.4384, allocations: 2.125 kB / 0.8283 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.4384, allocations: 0 / 0.8283 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.4384, allocations: 1.406 kB / 0.8283 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.4384, allocations: 0 / 0.8283 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.4384, allocations: 8.906 kB / 0.8283 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 4.252e-05/0.4385, allocations: 5.609 kB / 0.8283 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4385, allocations: 0 / 0.8283 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4385, allocations: 0.7031 kB / 0.8283 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4385, allocations: 1.219 kB / 0.8283 GB, free: 2.672 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.0002087/0.4387, allocations: 316.9 kB / 0.8286 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4387, allocations: 10.78 kB / 0.8287 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.865e-05/0.4388, allocations: 1.781 kB / 0.8287 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.482e-05/0.4388, allocations: 30.75 kB / 0.8287 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.856e-05/0.4388, allocations: 5.5 kB / 0.8287 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.887e-05/0.4388, allocations: 162.8 kB / 0.8289 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.4388, allocations: 1.172 kB / 0.8289 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.4389, allocations: 1.469 kB / 0.8289 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.575e-05/0.4389, allocations: 53.28 kB / 0.8289 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.4389, allocations: 0 / 0.8289 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.4389, allocations: 0.7969 kB / 0.8289 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4389, allocations: 1.844 kB / 0.8289 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.439, allocations: 5.656 kB / 0.8289 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.172e-05/0.4391, allocations: 156.2 kB / 0.8291 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.4391, allocations: 35.5 kB / 0.8291 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.4391, allocations: 17.81 kB / 0.8291 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.4391, allocations: 0 / 0.8291 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.4391, allocations: 40.77 kB / 0.8292 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.4391, allocations: 5.219 kB / 0.8292 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001114/0.4393, allocations: 44.62 kB / 0.8292 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.4393, allocations: 82.97 kB / 0.8293 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.236e-05/0.4393, allocations: 91.84 kB / 0.8294 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.4393, allocations: 26.08 kB / 0.8294 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-06/0.4393, allocations: 84.14 kB / 0.8295 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.4393, allocations: 12.58 kB / 0.8295 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.4394, allocations: 17.92 kB / 0.8295 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 2.947e-05/0.4394, allocations: 313 kB / 0.8298 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.4394, allocations: 1.188 kB / 0.8298 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135e-05/0.4394, allocations: 17.06 kB / 0.8298 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.4394, allocations: 22.89 kB / 0.8298 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4394, allocations: 1.281 kB / 0.8298 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.978e-05/0.4395, allocations: 40.14 kB / 0.8299 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.4395, allocations: 10.44 kB / 0.8299 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.4395, allocations: 0 / 0.8299 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.4395, allocations: 1.812 kB / 0.8299 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.545e-05/0.4396, allocations: 3.359 kB / 0.8299 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.4396, allocations: 1.312 kB / 0.8299 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.4396, allocations: 8.016 kB / 0.8299 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4396, allocations: 1.797 kB / 0.8299 GB, free: 0.9141 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 3.616e-05/0.4396, allocations: 113.1 kB / 0.83 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.4396, allocations: 9.188 kB / 0.83 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.4397, allocations: 45.05 kB / 0.8301 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4397, allocations: 5.438 kB / 0.8301 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4397, allocations: 0 / 0.8301 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.4397, allocations: 10.09 kB / 0.8301 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.525e-05/0.4398, allocations: 146.5 kB / 0.8302 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4398, allocations: 0 / 0.8302 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.4398, allocations: 3.219 kB / 0.8302 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4398, allocations: 5.797 kB / 0.8302 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.4398, allocations: 1.312 kB / 0.8302 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4398, allocations: 2.047 kB / 0.8302 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4398, allocations: 0 / 0.8302 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.14e-05/0.4399, allocations: 71.98 kB / 0.8303 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.4399, allocations: 91.58 kB / 0.8304 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.4399, allocations: 6.281 kB / 0.8304 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.4399, allocations: 0 / 0.8304 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.4399, allocations: 6.578 kB / 0.8304 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.4399, allocations: 2.109 kB / 0.8304 GB, free: 368 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.214e-05/0.4399, allocations: 76.53 kB / 0.8305 GB, free: 292 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4399, allocations: 128 / 0.8305 GB, free: 292 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001872/0.4401, allocations: 4.969 kB / 0.8305 GB, free: 288 kB / 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.0002852/0.4404, allocations: 0.5989 MB / 0.8311 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.799e-05/0.4405, allocations: 19.02 kB / 0.8311 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4405, allocations: 0 / 0.8311 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-06/0.4405, allocations: 6.047 kB / 0.8311 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.4406, allocations: 0.7031 kB / 0.8311 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.4409, allocations: 114.8 kB / 0.8312 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4412, allocations: 0.6771 MB / 0.8319 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.4412, allocations: 2.875 kB / 0.8319 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.4412, allocations: 12 kB / 0.8319 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.4412, allocations: 0 / 0.8319 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.4565, allocations: 0.9748 MB / 0.8328 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.312, allocations: 9.734 kB / 0.8328 GB, free: 14.45 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.004009410040453] Failed to read output from testmodel.py, exit status != 0: 8.430676329997368 8.444565515 8.0032119 Calling exit ...