Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008518/0.0008518, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008055/0.0008055, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8387/0.8387, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001368/0.001368, allocations: 237.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6402/0.6402, allocations: 138.4 MB / 454.3 MB, free: 1.645 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.215e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.1424/0.1424, allocations: 172.5 MB / 0.8147 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01257/0.155, allocations: 13.11 MB / 0.8275 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1562, allocations: 51.56 kB / 0.8276 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.1576, allocations: 0.4967 MB / 0.8281 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.1616, allocations: 1.982 MB / 0.83 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.1635, allocations: 0.9496 MB / 0.8309 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002786/0.1663, allocations: 2.629 MB / 0.8335 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.1674, allocations: 0.7873 MB / 0.8343 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.1714, allocations: 1.969 MB / 0.8362 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.1726, allocations: 0.8906 MB / 0.8371 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.1727, allocations: 108 kB / 0.8372 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.1742, allocations: 0.9463 MB / 0.8381 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.1746, allocations: 0.5376 MB / 0.8386 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.1751, allocations: 455 kB / 0.8391 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.1774, allocations: 1.94 MB / 0.8409 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1774, allocations: 0 / 0.8409 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1774, allocations: 4 kB / 0.841 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.434e-05/0.1774, allocations: 0 / 0.841 GB, free: 9.66 MB / 0.6823 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.001722/0.1792, allocations: 1.406 MB / 0.8423 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1792, allocations: 12.75 kB / 0.8423 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.1793, allocations: 139.6 kB / 0.8425 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008364/0.1802, allocations: 259 kB / 0.8427 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/0.1812, allocations: 0.7323 MB / 0.8434 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.1812, allocations: 70 kB / 0.8435 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.1813, allocations: 99.94 kB / 0.8436 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.1826, allocations: 1.298 MB / 0.8449 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.1826, allocations: 7.938 kB / 0.8449 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.1827, allocations: 36 kB / 0.8449 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.1827, allocations: 34 kB / 0.8449 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.1837, allocations: 0.9014 MB / 0.8458 GB, free: 4.508 MB / 0.6823 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.004034/0.1877, allocations: 4.13 MB / 0.8499 GB, free: 248 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.1884, allocations: 0.5127 MB / 0.8504 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.1887, allocations: 306.7 kB / 0.8506 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.189, allocations: 76.41 kB / 0.8507 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.189, allocations: 39.06 kB / 0.8508 GB, free: 15.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 4.459e-06/0.189, allocations: 3.984 kB / 0.8508 GB, free: 15.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.001154/0.1902, allocations: 0.8088 MB / 0.8515 GB, free: 14.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1902, allocations: 59.91 kB / 0.8516 GB, free: 14.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.1909, allocations: 0.7664 MB / 0.8524 GB, free: 13.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.191, allocations: 37.7 kB / 0.8524 GB, free: 13.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.1912, allocations: 0.5155 MB / 0.8529 GB, free: 13.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1914, allocations: 182.4 kB / 0.8531 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1915, allocations: 146.6 kB / 0.8532 GB, free: 12.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.1916, allocations: 333.9 kB / 0.8535 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.1919, allocations: 245.9 kB / 0.8538 GB, free: 12.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.1924, allocations: 0.8347 MB / 0.8546 GB, free: 11.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.1931, allocations: 0.8044 MB / 0.8554 GB, free: 10.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.1931, allocations: 7.938 kB / 0.8554 GB, free: 10.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009832/0.1941, allocations: 0.8445 MB / 0.8562 GB, free: 9.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.1942, allocations: 12 kB / 0.8562 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1942, allocations: 8 kB / 0.8562 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1942, allocations: 12 kB / 0.8562 GB, free: 9.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.1945, allocations: 155.7 kB / 0.8564 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.1945, allocations: 15.94 kB / 0.8564 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/0.1953, allocations: 95.72 kB / 0.8565 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.1953, allocations: 39.98 kB / 0.8565 GB, free: 9.031 MB / 0.698 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.0003685/0.1957, allocations: 325.4 kB / 0.8568 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.553e-05/0.1957, allocations: 87.44 kB / 0.8569 GB, free: 8.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006937/0.1964, allocations: 0.6234 MB / 0.8575 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1964, allocations: 4 kB / 0.8575 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1965, allocations: 0 / 0.8575 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000481/0.1969, allocations: 0.5187 MB / 0.858 GB, free: 7.449 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.1986, allocations: 1.541 MB / 0.8595 GB, free: 5.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1986, allocations: 4 kB / 0.8595 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.1989, allocations: 111.8 kB / 0.8596 GB, free: 5.719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1989, allocations: 4 kB / 0.8596 GB, free: 5.715 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.199, allocations: 19.94 kB / 0.8597 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.199, allocations: 4.219 kB / 0.8597 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.199, allocations: 7.984 kB / 0.8597 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/0.1999, allocations: 1.017 MB / 0.8607 GB, free: 4.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.2002, allocations: 155.3 kB / 0.8608 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.2002, allocations: 15.94 kB / 0.8608 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.2005, allocations: 15.98 kB / 0.8609 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.2005, allocations: 31.94 kB / 0.8609 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.2005, allocations: 20 kB / 0.8609 GB, free: 4.398 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005003/0.201, allocations: 0.5184 MB / 0.8614 GB, free: 3.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.201, allocations: 0 / 0.8614 GB, free: 3.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007528/0.2018, allocations: 307.4 kB / 0.8617 GB, free: 3.582 MB / 0.698 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.001499/0.2033, allocations: 1.665 MB / 0.8633 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.2044, allocations: 0.5854 MB / 0.8639 GB, free: 1.297 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2044, allocations: 4.062 kB / 0.8639 GB, free: 1.293 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.2046, allocations: 259.7 kB / 0.8641 GB, free: 1.039 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.2058, allocations: 433.5 kB / 0.8646 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.237/0.4428, allocations: 7.151 MB / 0.8715 GB, free: 213.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.4433, allocations: 0.5237 MB / 0.8721 GB, free: 213.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006786/0.4439, allocations: 265.4 kB / 0.8723 GB, free: 213.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.4443, allocations: 361.6 kB / 0.8727 GB, free: 213.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/0.4443, allocations: 1.344 kB / 0.8727 GB, free: 213.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.4867, allocations: 25.48 MB / 0.8975 GB, free: 196.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.909, allocations: 4.062 kB / 0.8975 GB, free: 196.1 MB / 0.698 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.568683010526001] Failed to read output from testmodel.py, exit status != 0: 8.004401538521051 8.016707403 7.836689766 Calling exit ...