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.001542/0.001542, allocations: 109 kB / 20.48 MB, free: 1.473 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.001579/0.001579, allocations: 208 kB / 23.79 MB, free: 4.684 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.379/1.379, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.9314/0.9314, allocations: 150 MB / 464 MB, free: 10.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",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.001957/0.001957, allocations: 64.59 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1812, allocations: 89.17 MB / 0.7291 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5815/0.7627, allocations: 199.2 MB / 0.9236 GB, free: 156 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.7836, allocations: 14.52 MB / 0.9378 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.7851, allocations: 51.56 kB / 0.9378 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.7868, allocations: 0.5202 MB / 0.9384 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.7923, allocations: 1.988 MB / 0.9403 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.7951, allocations: 0.9022 MB / 0.9412 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.7992, allocations: 2.635 MB / 0.9438 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.8006, allocations: 0.7897 MB / 0.9445 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005293/0.8059, allocations: 1.901 MB / 0.9464 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.8077, allocations: 0.9737 MB / 0.9473 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.8079, allocations: 108 kB / 0.9474 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.8102, allocations: 1.165 MB / 0.9486 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.8108, allocations: 0.5064 MB / 0.9491 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007915/0.8116, allocations: 0.6416 MB / 0.9497 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.8143, allocations: 1.919 MB / 0.9516 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8143, allocations: 3.938 kB / 0.9516 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8143, allocations: 0 / 0.9516 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.8144, allocations: 0 / 0.9516 GB, free: 3.461 MB / 0.7169 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.002348/0.8167, allocations: 1.411 MB / 0.9529 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.8168, allocations: 8.031 kB / 0.953 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.009e-05/0.8168, allocations: 26 kB / 0.953 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.817, allocations: 143.6 kB / 0.9531 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.8183, allocations: 263 kB / 0.9534 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.8197, allocations: 0.737 MB / 0.9541 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.8198, allocations: 66.88 kB / 0.9542 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.8199, allocations: 92 kB / 0.9542 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.8217, allocations: 1.177 MB / 0.9554 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.8218, allocations: 7.938 kB / 0.9554 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.8218, allocations: 39.94 kB / 0.9554 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.8219, allocations: 34 kB / 0.9555 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.8233, allocations: 0.9015 MB / 0.9563 GB, free: 14.42 MB / 0.7325 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.00649/0.8298, allocations: 5.771 MB / 0.962 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/0.8307, allocations: 0.508 MB / 0.9625 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.8311, allocations: 298.6 kB / 0.9628 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/0.8316, allocations: 80.34 kB / 0.9628 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.8317, allocations: 42.94 kB / 0.9629 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.555e-06/0.8317, allocations: 4 kB / 0.9629 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.00161/0.8333, allocations: 0.803 MB / 0.9637 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.8333, allocations: 59.78 kB / 0.9637 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009486/0.8343, allocations: 0.7587 MB / 0.9645 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.8343, allocations: 37.7 kB / 0.9645 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.8348, allocations: 0.5234 MB / 0.965 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.8349, allocations: 182.4 kB / 0.9652 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.8351, allocations: 146.6 kB / 0.9653 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8353, allocations: 334 kB / 0.9656 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.8357, allocations: 245.9 kB / 0.9659 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.8364, allocations: 0.5586 MB / 0.9664 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.8374, allocations: 0.7956 MB / 0.9672 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8374, allocations: 4 kB / 0.9672 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001287/0.8387, allocations: 0.8505 MB / 0.968 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.8388, allocations: 8 kB / 0.968 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.8388, allocations: 9.562 kB / 0.9681 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.8388, allocations: 12 kB / 0.9681 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.8393, allocations: 156.4 kB / 0.9682 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.8394, allocations: 19.88 kB / 0.9682 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000657/0.84, allocations: 91.39 kB / 0.9683 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.8401, allocations: 32 kB / 0.9684 GB, free: 1.336 MB / 0.7325 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.0004662/0.8405, allocations: 329.5 kB / 0.9687 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.8407, allocations: 91.38 kB / 0.9688 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.8417, allocations: 0.618 MB / 0.9694 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.8417, allocations: 11.98 kB / 0.9694 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.8417, allocations: 3.938 kB / 0.9694 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007536/0.8425, allocations: 0.5173 MB / 0.9699 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.845, allocations: 1.642 MB / 0.9715 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.845, allocations: 0 / 0.9715 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.8455, allocations: 111.9 kB / 0.9716 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.8455, allocations: 4 kB / 0.9716 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.8455, allocations: 8 kB / 0.9716 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.8455, allocations: 7.938 kB / 0.9716 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8455, allocations: 7.984 kB / 0.9716 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.847, allocations: 1.035 MB / 0.9726 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.8473, allocations: 155.4 kB / 0.9728 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8474, allocations: 17.38 kB / 0.9728 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.8479, allocations: 15.97 kB / 0.9728 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.848, allocations: 39.88 kB / 0.9728 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.848, allocations: 16 kB / 0.9729 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008145/0.8488, allocations: 0.5146 MB / 0.9734 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.8488, allocations: 0 / 0.9734 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001214/0.85, allocations: 303.4 kB / 0.9737 GB, free: 11.77 MB / 0.7481 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.002544/0.8526, allocations: 1.648 MB / 0.9753 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.8537, allocations: 0.5804 MB / 0.9758 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8537, allocations: 0.6875 kB / 0.9758 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.8541, allocations: 267.5 kB / 0.9761 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.8562, allocations: 450.3 kB / 0.9765 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.8675, allocations: 7.242 MB / 0.9836 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000961/0.8685, allocations: 1.122 MB / 0.9847 GB, free: 40 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00102/0.8695, allocations: 267.2 kB / 0.9849 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.8701, allocations: 363.2 kB / 0.9853 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of SimCode: time 1.012e-06/0.8701, allocations: 0 / 0.9853 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06197/0.9321, allocations: 23.87 MB / 1.009 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.39, allocations: 5.438 kB / 1.009 GB, free: 7.945 MB / 0.7794 GB " [Timeout remaining time 646] (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: 17.181732730998192] Failed to read output from testmodel.py, exit status != 0: 13.561111410963349 13.577359244 12.759460985 Calling exit ...