Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001679/0.001679, allocations: 116.1 kB / 17.17 MB, free: 6 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.001622/0.001622, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.797/2.797, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_12_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.001922/0.001922, allocations: 71.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9419/0.9438, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2439/1.188, allocations: 198.8 MB / 1.516 GB, free: 2.488 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01933/1.207, allocations: 14.42 MB / 1.53 GB, free: 4.023 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/1.209, allocations: 51.56 kB / 1.53 GB, free: 3.973 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/1.21, allocations: 0.5046 MB / 1.53 GB, free: 3.465 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/1.215, allocations: 1.968 MB / 1.532 GB, free: 1.492 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/1.217, allocations: 0.8684 MB / 1.533 GB, free: 0.625 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00353/1.221, allocations: 2.566 MB / 1.536 GB, free: 14.05 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/1.222, allocations: 0.9274 MB / 1.536 GB, free: 13.1 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/1.227, allocations: 1.878 MB / 1.538 GB, free: 11.23 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/1.229, allocations: 0.9761 MB / 1.539 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/1.229, allocations: 104 kB / 1.539 GB, free: 10.15 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/1.232, allocations: 1.146 MB / 1.54 GB, free: 9.004 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005729/1.232, allocations: 0.5063 MB / 1.541 GB, free: 8.496 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008633/1.233, allocations: 0.6377 MB / 1.542 GB, free: 7.855 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/1.236, allocations: 1.919 MB / 1.543 GB, free: 5.93 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.236, allocations: 0 / 1.543 GB, free: 5.93 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.094e-06/1.236, allocations: 8 kB / 1.543 GB, free: 5.922 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.236, allocations: 0 / 1.543 GB, free: 5.922 MB / 1.217 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.00257/1.239, allocations: 1.482 MB / 1.545 GB, free: 4.387 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.239, allocations: 15.98 kB / 1.545 GB, free: 4.371 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.944e-05/1.239, allocations: 22 kB / 1.545 GB, free: 4.348 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/1.239, allocations: 143.6 kB / 1.545 GB, free: 4.199 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/1.24, allocations: 266.9 kB / 1.545 GB, free: 3.938 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/1.242, allocations: 0.7975 MB / 1.546 GB, free: 3.098 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/1.242, allocations: 74 kB / 1.546 GB, free: 3.027 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/1.242, allocations: 92 kB / 1.546 GB, free: 2.938 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/1.244, allocations: 1.18 MB / 1.547 GB, free: 1.684 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/1.244, allocations: 3.938 kB / 1.547 GB, free: 1.68 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/1.244, allocations: 39.94 kB / 1.547 GB, free: 1.641 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/1.244, allocations: 38 kB / 1.547 GB, free: 1.605 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/1.245, allocations: 0.9015 MB / 1.548 GB, free: 0.7031 MB / 1.217 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.006647/1.252, allocations: 5.823 MB / 1.554 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/1.253, allocations: 0.5081 MB / 1.555 GB, free: 9.895 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/1.254, allocations: 294.6 kB / 1.555 GB, free: 9.602 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006707/1.254, allocations: 311.7 kB / 1.555 GB, free: 9.242 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/1.254, allocations: 39 kB / 1.555 GB, free: 9.191 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.936e-06/1.254, allocations: 0 / 1.555 GB, free: 9.191 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001664/1.256, allocations: 0.8069 MB / 1.556 GB, free: 8.383 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.256, allocations: 55.84 kB / 1.556 GB, free: 8.316 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.257, allocations: 0.7549 MB / 1.557 GB, free: 7.551 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/1.257, allocations: 37.7 kB / 1.557 GB, free: 7.508 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/1.258, allocations: 0.5311 MB / 1.557 GB, free: 6.969 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/1.258, allocations: 182.5 kB / 1.557 GB, free: 6.789 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.258, allocations: 142.6 kB / 1.558 GB, free: 6.645 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.258, allocations: 334 kB / 1.558 GB, free: 6.312 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/1.259, allocations: 253.8 kB / 1.558 GB, free: 6.062 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/1.259, allocations: 0.5508 MB / 1.559 GB, free: 5.379 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.26, allocations: 0.7956 MB / 1.559 GB, free: 4.473 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.26, allocations: 4 kB / 1.559 GB, free: 4.469 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001357/1.262, allocations: 0.8549 MB / 1.56 GB, free: 3.605 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.262, allocations: 8 kB / 1.56 GB, free: 3.598 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.262, allocations: 11.98 kB / 1.56 GB, free: 3.586 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/1.262, allocations: 12 kB / 1.56 GB, free: 3.574 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/1.262, allocations: 155.7 kB / 1.561 GB, free: 3.422 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.262, allocations: 19.88 kB / 1.561 GB, free: 3.402 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/1.263, allocations: 95.52 kB / 1.561 GB, free: 3.309 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/1.263, allocations: 39.98 kB / 1.561 GB, free: 3.27 MB / 1.232 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.000453/1.264, allocations: 325.5 kB / 1.561 GB, free: 2.941 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.264, allocations: 91.44 kB / 1.561 GB, free: 2.852 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/1.265, allocations: 0.6218 MB / 1.562 GB, free: 2.223 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.265, allocations: 4 kB / 1.562 GB, free: 2.219 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.265, allocations: 0 / 1.562 GB, free: 2.219 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007664/1.266, allocations: 0.5172 MB / 1.562 GB, free: 1.688 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/1.268, allocations: 1.675 MB / 1.564 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.268, allocations: 224 / 1.564 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/1.269, allocations: 111.9 kB / 1.564 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.269, allocations: 11.98 kB / 1.564 GB, free: 15.81 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/1.269, allocations: 11.98 kB / 1.564 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/1.269, allocations: 7.938 kB / 1.564 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.269, allocations: 4 kB / 1.564 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/1.27, allocations: 1.027 MB / 1.565 GB, free: 14.72 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/1.271, allocations: 224.5 kB / 1.565 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/1.271, allocations: 16 kB / 1.565 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/1.271, allocations: 11.98 kB / 1.565 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/1.271, allocations: 35.91 kB / 1.565 GB, free: 14.42 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/1.271, allocations: 23.98 kB / 1.565 GB, free: 14.4 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006629/1.272, allocations: 0.5185 MB / 1.566 GB, free: 13.89 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.272, allocations: 0 / 1.566 GB, free: 13.89 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009003/1.273, allocations: 299.4 kB / 1.566 GB, free: 13.59 MB / 1.248 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.002195/1.275, allocations: 1.66 MB / 1.568 GB, free: 11.89 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.276, allocations: 0.5796 MB / 1.568 GB, free: 11.31 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.276, allocations: 5.938 kB / 1.568 GB, free: 11.31 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/1.276, allocations: 267.2 kB / 1.568 GB, free: 11.05 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.278, allocations: 442.8 kB / 1.569 GB, free: 10.62 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009963/1.288, allocations: 7.24 MB / 1.576 GB, free: 2.992 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/1.289, allocations: 1.122 MB / 1.577 GB, free: 1.844 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007808/1.29, allocations: 271.1 kB / 1.577 GB, free: 1.574 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/1.29, allocations: 359.3 kB / 1.578 GB, free: 1.223 MB / 1.248 GB Notification: Performance of SimCode: time 8.72e-07/1.29, allocations: 0 / 1.578 GB, free: 1.223 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/1.342, allocations: 23.29 MB / 1.6 GB, free: 10.31 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.694/11.04, allocations: 22.42 kB / 1.6 GB, free: 10.29 MB / 1.279 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.13100942899473] Failed to read output from testmodel.py, exit status != 0: 11.176894865988288 11.191951406 9.952606798 Calling exit ...