Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 109.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 489 MB / 0.7678 GB, free: 12 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.91 kB / 1.101 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8304/0.8323, allocations: 163.8 MB / 1.261 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2352/1.068, allocations: 195.2 MB / 1.452 GB, free: 3.266 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02086/1.088, allocations: 14.32 MB / 1.466 GB, free: 4.91 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/1.09, allocations: 39.75 kB / 1.466 GB, free: 4.871 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/1.092, allocations: 0.4969 MB / 1.466 GB, free: 4.371 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005966/1.098, allocations: 1.889 MB / 1.468 GB, free: 2.477 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/1.101, allocations: 0.8673 MB / 1.469 GB, free: 1.613 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0043/1.106, allocations: 2.557 MB / 1.471 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/1.108, allocations: 1.115 MB / 1.472 GB, free: 13.9 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005696/1.113, allocations: 1.798 MB / 1.474 GB, free: 12.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/1.115, allocations: 0.8978 MB / 1.475 GB, free: 11.22 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/1.116, allocations: 104 kB / 1.475 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/1.118, allocations: 1.095 MB / 1.476 GB, free: 10.02 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005939/1.119, allocations: 0.4949 MB / 1.477 GB, free: 9.523 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009718/1.12, allocations: 0.6377 MB / 1.477 GB, free: 8.883 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/1.123, allocations: 1.919 MB / 1.479 GB, free: 6.957 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.123, allocations: 0 / 1.479 GB, free: 6.957 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.074e-06/1.123, allocations: 3.938 kB / 1.479 GB, free: 6.953 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.209e-05/1.123, allocations: 0 / 1.479 GB, free: 6.953 MB / 1.186 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.002671/1.126, allocations: 1.486 MB / 1.481 GB, free: 5.414 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.126, allocations: 8.031 kB / 1.481 GB, free: 5.406 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/1.126, allocations: 147.5 kB / 1.481 GB, free: 5.254 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/1.128, allocations: 255 kB / 1.481 GB, free: 5.004 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/1.129, allocations: 0.8006 MB / 1.482 GB, free: 4.16 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/1.129, allocations: 70 kB / 1.482 GB, free: 4.094 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/1.129, allocations: 92 kB / 1.482 GB, free: 4.004 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/1.131, allocations: 1.173 MB / 1.483 GB, free: 2.758 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/1.132, allocations: 7.938 kB / 1.483 GB, free: 2.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/1.132, allocations: 43.94 kB / 1.483 GB, free: 2.707 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/1.132, allocations: 34 kB / 1.483 GB, free: 2.676 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/1.133, allocations: 0.9093 MB / 1.484 GB, free: 1.766 MB / 1.186 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.007005/1.14, allocations: 5.815 MB / 1.49 GB, free: 11.48 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/1.141, allocations: 0.5418 MB / 1.49 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/1.142, allocations: 318.6 kB / 1.491 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/1.142, allocations: 311.8 kB / 1.491 GB, free: 10.26 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.142, allocations: 42.98 kB / 1.491 GB, free: 10.2 MB / 1.201 GB Notification: Performance of pre-optimization done (n=49): time 2.726e-06/1.142, allocations: 0 / 1.491 GB, free: 10.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.0017/1.144, allocations: 0.8069 MB / 1.492 GB, free: 9.391 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/1.144, allocations: 55.84 kB / 1.492 GB, free: 9.324 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/1.145, allocations: 0.751 MB / 1.493 GB, free: 8.562 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/1.145, allocations: 37.7 kB / 1.493 GB, free: 8.52 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/1.146, allocations: 0.5194 MB / 1.493 GB, free: 7.992 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/1.146, allocations: 186.4 kB / 1.493 GB, free: 7.809 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.146, allocations: 138.6 kB / 1.493 GB, free: 7.668 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.146, allocations: 345.9 kB / 1.494 GB, free: 7.324 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/1.147, allocations: 245.9 kB / 1.494 GB, free: 7.086 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/1.148, allocations: 0.5508 MB / 1.494 GB, free: 6.402 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.149, allocations: 0.7995 MB / 1.495 GB, free: 5.492 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.149, allocations: 0 / 1.495 GB, free: 5.492 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001447/1.15, allocations: 0.8548 MB / 1.496 GB, free: 4.633 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.15, allocations: 8 kB / 1.496 GB, free: 4.625 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.15, allocations: 11.98 kB / 1.496 GB, free: 4.613 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/1.15, allocations: 12 kB / 1.496 GB, free: 4.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/1.151, allocations: 151.8 kB / 1.496 GB, free: 4.453 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/1.151, allocations: 19.92 kB / 1.496 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/1.152, allocations: 99.62 kB / 1.496 GB, free: 4.336 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/1.152, allocations: 36 kB / 1.496 GB, free: 4.301 MB / 1.201 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.0005249/1.152, allocations: 337.4 kB / 1.497 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.152, allocations: 87.44 kB / 1.497 GB, free: 3.875 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/1.154, allocations: 0.6179 MB / 1.497 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.154, allocations: 8 kB / 1.497 GB, free: 3.234 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.154, allocations: 0 / 1.497 GB, free: 3.234 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007841/1.154, allocations: 0.525 MB / 1.498 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/1.157, allocations: 1.667 MB / 1.5 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.157, allocations: 8.031 kB / 1.5 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/1.158, allocations: 111.8 kB / 1.5 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/1.158, allocations: 8.031 kB / 1.5 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/1.158, allocations: 16 kB / 1.5 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.158, allocations: 4 kB / 1.5 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.158, allocations: 0 / 1.5 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/1.159, allocations: 1.019 MB / 1.501 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/1.159, allocations: 228.5 kB / 1.501 GB, free: 15.51 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/1.16, allocations: 12 kB / 1.501 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/1.16, allocations: 23.98 kB / 1.501 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/1.16, allocations: 31.95 kB / 1.501 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/1.16, allocations: 19.94 kB / 1.501 GB, free: 15.42 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007521/1.161, allocations: 0.5107 MB / 1.502 GB, free: 14.92 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.161, allocations: 0 / 1.502 GB, free: 14.92 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009295/1.162, allocations: 303.4 kB / 1.502 GB, free: 14.62 MB / 1.217 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.002207/1.164, allocations: 1.682 MB / 1.503 GB, free: 12.9 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00107/1.165, allocations: 0.6079 MB / 1.504 GB, free: 12.3 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.165, allocations: 0.5625 kB / 1.504 GB, free: 12.3 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/1.166, allocations: 279.8 kB / 1.504 GB, free: 12.02 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.168, allocations: 439.9 kB / 1.505 GB, free: 11.6 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.178, allocations: 7.243 MB / 1.512 GB, free: 3.969 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009219/1.179, allocations: 1.122 MB / 1.513 GB, free: 2.82 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008868/1.18, allocations: 267.1 kB / 1.513 GB, free: 2.555 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/1.181, allocations: 359.3 kB / 1.513 GB, free: 2.203 MB / 1.217 GB Notification: Performance of SimCode: time 6.41e-07/1.181, allocations: 0 / 1.513 GB, free: 2.203 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07933/1.26, allocations: 23.09 MB / 1.536 GB, free: 11.45 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.739/11, allocations: 15.89 kB / 1.536 GB, free: 11.43 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.910449707880616] Failed to read output from testmodel.py, exit status != 0: 11.084891743957996 11.104746272 9.978045907 Calling exit ...