Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.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.001267/0.001267, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001479/0.001479, allocations: 218.1 kB / 23 MB, free: 4.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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9503/0.9503, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002023/0.002023, allocations: 66.27 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.175, allocations: 89.17 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5791/0.7541, allocations: 172.7 MB / 0.8968 GB, free: 8.461 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.773, allocations: 13.15 MB / 0.9097 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.7743, allocations: 59.5 kB / 0.9097 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.776, allocations: 0.493 MB / 0.9102 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004994/0.781, allocations: 1.944 MB / 0.9121 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.7834, allocations: 0.8791 MB / 0.913 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003578/0.787, allocations: 2.604 MB / 0.9155 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.7883, allocations: 0.7912 MB / 0.9163 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00533/0.7936, allocations: 1.881 MB / 0.9181 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.7956, allocations: 0.9397 MB / 0.919 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.7957, allocations: 112 kB / 0.9191 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.7978, allocations: 0.9079 MB / 0.92 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.7983, allocations: 0.5142 MB / 0.9205 GB, free: 132 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/0.7991, allocations: 0.5291 MB / 0.921 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.8022, allocations: 1.897 MB / 0.9229 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8022, allocations: 0 / 0.9229 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8022, allocations: 0 / 0.9229 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.8022, allocations: 4 kB / 0.9229 GB, free: 13.69 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002486/0.8047, allocations: 1.415 MB / 0.9243 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.8048, allocations: 12.03 kB / 0.9243 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.805, allocations: 143.6 kB / 0.9244 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.8064, allocations: 259 kB / 0.9247 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.8081, allocations: 0.7331 MB / 0.9254 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.8082, allocations: 70 kB / 0.9255 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.8084, allocations: 92 kB / 0.9255 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.8104, allocations: 1.302 MB / 0.9268 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.8105, allocations: 3.938 kB / 0.9268 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.8106, allocations: 42.12 kB / 0.9269 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.8106, allocations: 30 kB / 0.9269 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.8121, allocations: 0.9054 MB / 0.9278 GB, free: 8.523 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005887/0.818, allocations: 4.134 MB / 0.9318 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.8189, allocations: 0.5206 MB / 0.9323 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.8193, allocations: 294.6 kB / 0.9326 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.8198, allocations: 84.34 kB / 0.9327 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.8199, allocations: 39 kB / 0.9327 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.8199, allocations: 0 / 0.9327 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001584/0.8214, allocations: 0.803 MB / 0.9335 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.8215, allocations: 59.78 kB / 0.9336 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.8225, allocations: 0.7742 MB / 0.9343 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.8226, allocations: 37.7 kB / 0.9343 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.823, allocations: 0.5116 MB / 0.9348 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.8232, allocations: 190.5 kB / 0.935 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.8234, allocations: 142.6 kB / 0.9352 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8236, allocations: 334 kB / 0.9355 GB, free: 428 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.8239, allocations: 249.8 kB / 0.9357 GB, free: 176 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.8248, allocations: 0.8309 MB / 0.9365 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.8258, allocations: 0.7956 MB / 0.9373 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8258, allocations: 4 kB / 0.9373 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001343/0.8272, allocations: 0.851 MB / 0.9381 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.8272, allocations: 12.22 kB / 0.9382 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.8272, allocations: 8 kB / 0.9382 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.8272, allocations: 15.98 kB / 0.9382 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.8278, allocations: 151.8 kB / 0.9383 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.8278, allocations: 19.88 kB / 0.9383 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.8285, allocations: 92.45 kB / 0.9384 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.8286, allocations: 35.98 kB / 0.9385 GB, free: 13.04 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004949/0.8291, allocations: 333.3 kB / 0.9388 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.8292, allocations: 99.42 kB / 0.9389 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.8303, allocations: 0.6141 MB / 0.9395 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8303, allocations: 4 kB / 0.9395 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8303, allocations: 3.938 kB / 0.9395 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007573/0.8311, allocations: 0.5211 MB / 0.94 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.8336, allocations: 1.545 MB / 0.9415 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.8336, allocations: 48 / 0.9415 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.8342, allocations: 115.9 kB / 0.9416 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.8342, allocations: 4 kB / 0.9416 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.8342, allocations: 12 kB / 0.9416 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.8342, allocations: 11.92 kB / 0.9416 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8342, allocations: 4 kB / 0.9416 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.8357, allocations: 1.027 MB / 0.9426 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.836, allocations: 155.5 kB / 0.9428 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.8361, allocations: 12 kB / 0.9428 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.8366, allocations: 15.98 kB / 0.9428 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.8366, allocations: 35.94 kB / 0.9429 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.8367, allocations: 19.94 kB / 0.9429 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006934/0.8374, allocations: 0.5107 MB / 0.9434 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8374, allocations: 0 / 0.9434 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008849/0.8383, allocations: 303.4 kB / 0.9437 GB, free: 7.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.002099/0.8404, allocations: 1.654 MB / 0.9453 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009771/0.8413, allocations: 0.5888 MB / 0.9459 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8413, allocations: 0 / 0.9459 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.8417, allocations: 263.4 kB / 0.9461 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.8436, allocations: 448.2 kB / 0.9465 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/0.8534, allocations: 7.246 MB / 0.9536 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.8539, allocations: 0.5238 MB / 0.9541 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008403/0.8548, allocations: 267.1 kB / 0.9544 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.8553, allocations: 363.3 kB / 0.9547 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/0.8553, allocations: 0 / 0.9547 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.9185, allocations: 25.44 MB / 0.9796 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.48, allocations: 3.938 kB / 0.9796 GB, free: 2.93 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.326011401135474] Failed to read output from testmodel.py, exit status != 0: 12.599088180344552 12.624021829 11.817039234 Calling exit ...