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.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.001378/0.001378, allocations: 120 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.001415/0.001415, allocations: 214.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.474/1.474, 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/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.859/2.859, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00204/0.00204, allocations: 68.08 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9059/0.908, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2375/1.146, allocations: 198.8 MB / 1.534 GB, free: 1.273 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01794/1.163, allocations: 14.42 MB / 1.548 GB, free: 2.812 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/1.165, allocations: 55.56 kB / 1.548 GB, free: 2.758 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/1.166, allocations: 0.5124 MB / 1.549 GB, free: 2.242 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004743/1.171, allocations: 1.951 MB / 1.551 GB, free: 292 kB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/1.173, allocations: 0.8715 MB / 1.552 GB, free: 15.42 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003279/1.177, allocations: 2.578 MB / 1.554 GB, free: 12.84 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/1.178, allocations: 0.9196 MB / 1.555 GB, free: 11.89 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/1.183, allocations: 1.879 MB / 1.557 GB, free: 10.03 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/1.184, allocations: 0.9789 MB / 1.558 GB, free: 9.047 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/1.185, allocations: 108 kB / 1.558 GB, free: 8.941 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/1.187, allocations: 1.146 MB / 1.559 GB, free: 7.793 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006754/1.188, allocations: 0.5025 MB / 1.56 GB, free: 7.289 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009255/1.189, allocations: 0.6339 MB / 1.56 GB, free: 6.652 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/1.191, allocations: 1.923 MB / 1.562 GB, free: 4.723 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.191, allocations: 0 / 1.562 GB, free: 4.723 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.373e-06/1.191, allocations: 0 / 1.562 GB, free: 4.723 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.717e-05/1.191, allocations: 0 / 1.562 GB, free: 4.723 MB / 1.232 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.002263/1.194, allocations: 1.49 MB / 1.564 GB, free: 3.176 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/1.194, allocations: 12.03 kB / 1.564 GB, free: 3.164 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.011e-05/1.194, allocations: 26 kB / 1.564 GB, free: 3.141 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/1.194, allocations: 147.6 kB / 1.564 GB, free: 2.988 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.195, allocations: 259 kB / 1.564 GB, free: 2.734 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.196, allocations: 0.8014 MB / 1.565 GB, free: 1.891 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/1.196, allocations: 74 kB / 1.565 GB, free: 1.816 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.197, allocations: 92 kB / 1.565 GB, free: 1.727 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.198, allocations: 1.174 MB / 1.566 GB, free: 496 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.198, allocations: 3.938 kB / 1.566 GB, free: 492 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/1.198, allocations: 40 kB / 1.566 GB, free: 452 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/1.198, allocations: 34 kB / 1.566 GB, free: 416 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.2, allocations: 0.9092 MB / 1.567 GB, free: 15.5 MB / 1.248 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.005962/1.206, allocations: 5.816 MB / 1.573 GB, free: 9.207 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/1.207, allocations: 0.5215 MB / 1.573 GB, free: 8.68 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/1.207, allocations: 294.6 kB / 1.574 GB, free: 8.383 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006082/1.208, allocations: 311.8 kB / 1.574 GB, free: 8.023 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.208, allocations: 38.98 kB / 1.574 GB, free: 7.977 MB / 1.248 GB Notification: Performance of pre-optimization done (n=49): time 2.244e-06/1.208, allocations: 0 / 1.574 GB, free: 7.977 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.001533/1.209, allocations: 0.8108 MB / 1.575 GB, free: 7.16 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.209, allocations: 55.84 kB / 1.575 GB, free: 7.094 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/1.21, allocations: 0.751 MB / 1.575 GB, free: 6.332 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/1.21, allocations: 41.7 kB / 1.575 GB, free: 6.285 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/1.211, allocations: 0.5232 MB / 1.576 GB, free: 5.754 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/1.211, allocations: 182.5 kB / 1.576 GB, free: 5.574 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/1.211, allocations: 146.5 kB / 1.576 GB, free: 5.426 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.211, allocations: 333.9 kB / 1.577 GB, free: 5.094 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/1.212, allocations: 249.9 kB / 1.577 GB, free: 4.848 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/1.212, allocations: 0.5469 MB / 1.577 GB, free: 4.168 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.214, allocations: 0.8034 MB / 1.578 GB, free: 3.254 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.214, allocations: 4 kB / 1.578 GB, free: 3.25 MB / 1.248 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001314/1.215, allocations: 0.8511 MB / 1.579 GB, free: 2.391 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.215, allocations: 8 kB / 1.579 GB, free: 2.383 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.215, allocations: 12.12 kB / 1.579 GB, free: 2.371 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/1.215, allocations: 12 kB / 1.579 GB, free: 2.359 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/1.215, allocations: 151.8 kB / 1.579 GB, free: 2.211 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/1.215, allocations: 19.92 kB / 1.579 GB, free: 2.191 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006893/1.216, allocations: 95.27 kB / 1.579 GB, free: 2.098 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/1.216, allocations: 36 kB / 1.579 GB, free: 2.062 MB / 1.248 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.0004934/1.217, allocations: 329.5 kB / 1.58 GB, free: 1.73 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/1.217, allocations: 91.44 kB / 1.58 GB, free: 1.641 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/1.218, allocations: 0.6218 MB / 1.58 GB, free: 1.016 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.218, allocations: 7.938 kB / 1.58 GB, free: 1.008 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.218, allocations: 0 / 1.58 GB, free: 1.008 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007928/1.219, allocations: 0.5211 MB / 1.581 GB, free: 484 kB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/1.221, allocations: 1.667 MB / 1.582 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.221, allocations: 4 kB / 1.582 GB, free: 14.72 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/1.222, allocations: 111.8 kB / 1.583 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/1.222, allocations: 4 kB / 1.583 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/1.222, allocations: 20.22 kB / 1.583 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/1.222, allocations: 4 kB / 1.583 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.222, allocations: 0 / 1.583 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.223, allocations: 1.027 MB / 1.584 GB, free: 13.52 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/1.223, allocations: 228.5 kB / 1.584 GB, free: 13.28 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/1.223, allocations: 15.98 kB / 1.584 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/1.224, allocations: 16 kB / 1.584 GB, free: 13.25 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/1.224, allocations: 35.89 kB / 1.584 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/1.224, allocations: 20 kB / 1.584 GB, free: 13.19 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006477/1.225, allocations: 0.5184 MB / 1.584 GB, free: 12.68 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/1.225, allocations: 0 / 1.584 GB, free: 12.68 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008387/1.226, allocations: 303.4 kB / 1.585 GB, free: 12.38 MB / 1.264 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.001989/1.228, allocations: 1.655 MB / 1.586 GB, free: 10.69 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009654/1.228, allocations: 0.592 MB / 1.587 GB, free: 10.09 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.228, allocations: 0 / 1.587 GB, free: 10.09 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/1.229, allocations: 255.7 kB / 1.587 GB, free: 9.844 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.231, allocations: 444.3 kB / 1.588 GB, free: 9.418 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009918/1.241, allocations: 7.255 MB / 1.595 GB, free: 1.773 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008666/1.242, allocations: 1.124 MB / 1.596 GB, free: 0.625 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008054/1.242, allocations: 267.1 kB / 1.596 GB, free: 368 kB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/1.243, allocations: 359.3 kB / 1.596 GB, free: 8 kB / 1.264 GB Notification: Performance of SimCode: time 1.002e-06/1.243, allocations: 4 kB / 1.596 GB, free: 4 kB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/1.296, allocations: 23.28 MB / 1.619 GB, free: 9.082 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.547/10.84, allocations: 4.594 kB / 1.619 GB, free: 9.078 MB / 1.295 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: 17.056148928008042] Failed to read output from testmodel.py, exit status != 0: 10.994438107998576 11.009833377 9.815077736 Calling exit ...