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.001406/0.001406, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002111/0.002111, allocations: 216.2 kB / 22.25 MB, free: 5.121 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] 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.002527/0.002527, allocations: 287.1 kB / 312.7 MB, free: 2.777 MB / 238.1 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 1.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 13.04 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.003258/0.003258, allocations: 113.5 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1684, allocations: 95.37 MB / 0.8327 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.5764/0.7448, allocations: 199.1 MB / 1.027 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.7598, allocations: 14.51 MB / 1.041 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.7615, allocations: 54.16 kB / 1.041 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.763, allocations: 0.5132 MB / 1.042 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.7674, allocations: 1.993 MB / 1.044 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.7696, allocations: 0.9008 MB / 1.045 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003222/0.7728, allocations: 2.628 MB / 1.047 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.7741, allocations: 0.8089 MB / 1.048 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.7785, allocations: 1.685 MB / 1.05 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.7804, allocations: 0.9932 MB / 1.051 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.7805, allocations: 108.4 kB / 1.051 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.7828, allocations: 1.188 MB / 1.052 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.7833, allocations: 0.5003 MB / 1.052 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.784, allocations: 0.638 MB / 1.053 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.7866, allocations: 1.913 MB / 1.055 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7866, allocations: 2.344 kB / 1.055 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7866, allocations: 0 / 1.055 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.7867, allocations: 2.859 kB / 1.055 GB, free: 1.871 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.002191/0.7889, allocations: 1.407 MB / 1.056 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.7889, allocations: 13.19 kB / 1.056 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.789, allocations: 148.6 kB / 1.056 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.7903, allocations: 254.9 kB / 1.057 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.7915, allocations: 0.7299 MB / 1.057 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.7916, allocations: 72.98 kB / 1.058 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.7917, allocations: 91.69 kB / 1.058 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.7933, allocations: 1.17 MB / 1.059 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.7933, allocations: 3.312 kB / 1.059 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.7934, allocations: 44.23 kB / 1.059 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.7934, allocations: 35.16 kB / 1.059 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.7946, allocations: 0.9072 MB / 1.06 GB, free: 16.24 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.00593/0.8006, allocations: 5.685 MB / 1.065 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/0.8014, allocations: 0.5097 MB / 1.066 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.8018, allocations: 300.8 kB / 1.066 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004898/0.8023, allocations: 84.72 kB / 1.066 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.8023, allocations: 45.94 kB / 1.066 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.285e-06/0.8023, allocations: 1.094 kB / 1.066 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001417/0.8037, allocations: 0.8012 MB / 1.067 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.8038, allocations: 58.09 kB / 1.067 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009159/0.8047, allocations: 0.7522 MB / 1.068 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.8047, allocations: 39.39 kB / 1.068 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.8052, allocations: 0.5212 MB / 1.068 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.8054, allocations: 190.5 kB / 1.068 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.8056, allocations: 143.2 kB / 1.069 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.8058, allocations: 338.7 kB / 1.069 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.8062, allocations: 250.2 kB / 1.069 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.8068, allocations: 0.5501 MB / 1.07 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8079, allocations: 0.7982 MB / 1.07 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.8079, allocations: 2.781 kB / 1.07 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001243/0.8091, allocations: 0.8522 MB / 1.071 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.8091, allocations: 14 kB / 1.071 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8091, allocations: 7.344 kB / 1.071 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.8092, allocations: 11.19 kB / 1.071 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.8097, allocations: 153.3 kB / 1.072 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.8097, allocations: 17.86 kB / 1.072 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.8104, allocations: 90.67 kB / 1.072 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.8105, allocations: 33.61 kB / 1.072 GB, free: 8.27 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.0004949/0.811, allocations: 335.2 kB / 1.072 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.8111, allocations: 93.86 kB / 1.072 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009658/0.8121, allocations: 0.6165 MB / 1.073 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8121, allocations: 9.562 kB / 1.073 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8121, allocations: 0 / 1.073 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006732/0.8128, allocations: 0.516 MB / 1.073 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.8154, allocations: 1.649 MB / 1.075 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.8154, allocations: 2.688 kB / 1.075 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.8159, allocations: 111 kB / 1.075 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.8159, allocations: 7.312 kB / 1.075 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.8159, allocations: 12.66 kB / 1.075 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8159, allocations: 2.125 kB / 1.075 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8159, allocations: 5.125 kB / 1.075 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.8172, allocations: 1.023 MB / 1.076 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.8175, allocations: 154.9 kB / 1.076 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.8176, allocations: 17.53 kB / 1.076 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.8181, allocations: 13.09 kB / 1.076 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.8181, allocations: 40.22 kB / 1.076 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.8182, allocations: 17.58 kB / 1.076 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006007/0.8188, allocations: 0.5129 MB / 1.077 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8188, allocations: 0 / 1.077 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008872/0.8197, allocations: 295.6 kB / 1.077 GB, free: 5.113 MB / 0.7325 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.001902/0.8216, allocations: 1.666 MB / 1.079 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009514/0.8225, allocations: 0.5866 MB / 1.079 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8225, allocations: 0 / 1.079 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.8229, allocations: 260.3 kB / 1.079 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.8247, allocations: 451.2 kB / 1.08 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009642/0.8343, allocations: 7.25 MB / 1.087 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/0.8351, allocations: 1.118 MB / 1.088 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008543/0.836, allocations: 267 kB / 1.088 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.8365, allocations: 365.8 kB / 1.089 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of SimCode: time 7.31e-07/0.8365, allocations: 0 / 1.089 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06307/0.8996, allocations: 23.83 MB / 1.112 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.03, allocations: 4.062 kB / 1.112 GB, free: 5.184 MB / 0.7637 GB " [Timeout remaining time 647] (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: 17.050254965899512] Failed to read output from testmodel.py, exit status != 0: 13.149757080012932 13.164874504 12.375096372 Calling exit ...