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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 105.4 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 184.4 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7231/0.7231, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3211, allocations: 77.91 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5165/0.8376, allocations: 195.1 MB / 0.7578 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.8537, allocations: 14.32 MB / 0.7718 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.8557, allocations: 37.47 kB / 0.7718 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.8575, allocations: 0.4953 MB / 0.7723 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006321/0.8639, allocations: 1.885 MB / 0.7741 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.8674, allocations: 0.8665 MB / 0.775 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005075/0.8725, allocations: 2.566 MB / 0.7775 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.8751, allocations: 1.115 MB / 0.7786 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005938/0.8811, allocations: 1.601 MB / 0.7801 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.8836, allocations: 0.9231 MB / 0.781 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004869/0.8841, allocations: 109.5 kB / 0.7811 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.8875, allocations: 1.093 MB / 0.7822 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009067/0.8884, allocations: 0.4938 MB / 0.7827 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001714/0.8901, allocations: 0.6345 MB / 0.7833 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.8949, allocations: 1.889 MB / 0.7851 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8949, allocations: 0 / 0.7851 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8949, allocations: 1.094 kB / 0.7851 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.561e-05/0.895, allocations: 0 / 0.7851 GB, free: 1.301 MB / 0.5762 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.003909/0.8989, allocations: 1.449 MB / 0.7866 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.899, allocations: 11.47 kB / 0.7866 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/0.8993, allocations: 144.8 kB / 0.7867 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/0.9016, allocations: 251.5 kB / 0.7869 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.9034, allocations: 0.7535 MB / 0.7877 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.9034, allocations: 73.19 kB / 0.7878 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.9037, allocations: 92.06 kB / 0.7878 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.9061, allocations: 1.176 MB / 0.789 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.9061, allocations: 2.281 kB / 0.789 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.9063, allocations: 39.03 kB / 0.789 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.9063, allocations: 37.14 kB / 0.7891 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.9084, allocations: 0.9015 MB / 0.7899 GB, free: 15.86 MB / 0.5919 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.007155/0.9156, allocations: 5.769 MB / 0.7956 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.9167, allocations: 0.5392 MB / 0.7961 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/0.9172, allocations: 318.1 kB / 0.7964 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/0.918, allocations: 310.2 kB / 0.7967 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.9181, allocations: 37.88 kB / 0.7967 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 3.266e-06/0.9181, allocations: 0 / 0.7967 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.002124/0.9202, allocations: 0.8053 MB / 0.7975 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.9203, allocations: 59.94 kB / 0.7976 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.9216, allocations: 0.7487 MB / 0.7983 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.231e-05/0.9217, allocations: 37.36 kB / 0.7984 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.9221, allocations: 0.5091 MB / 0.7989 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.9224, allocations: 177.8 kB / 0.799 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.9227, allocations: 143.9 kB / 0.7992 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9229, allocations: 335.1 kB / 0.7995 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.9234, allocations: 247.8 kB / 0.7997 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009039/0.9243, allocations: 0.5558 MB / 0.8003 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.9258, allocations: 0.8008 MB / 0.801 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.9258, allocations: 2.281 kB / 0.801 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001884/0.9277, allocations: 0.8487 MB / 0.8019 GB, free: 10 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9278, allocations: 7.344 kB / 0.8019 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.9278, allocations: 8.469 kB / 0.8019 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.9278, allocations: 17.91 kB / 0.8019 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.9287, allocations: 158.2 kB / 0.8021 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.9287, allocations: 18.94 kB / 0.8021 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.93, allocations: 90.08 kB / 0.8022 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/0.9301, allocations: 40.59 kB / 0.8022 GB, free: 9.949 MB / 0.5919 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.0006091/0.9307, allocations: 329 kB / 0.8025 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.931, allocations: 85.03 kB / 0.8026 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.9324, allocations: 0.6173 MB / 0.8032 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.9324, allocations: 13.25 kB / 0.8032 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9324, allocations: 0 / 0.8032 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009911/0.9334, allocations: 0.5207 MB / 0.8037 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.9366, allocations: 1.668 MB / 0.8053 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.9366, allocations: 2.094 kB / 0.8053 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.9373, allocations: 111.2 kB / 0.8055 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.9373, allocations: 2.5 kB / 0.8055 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.9374, allocations: 17 kB / 0.8055 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.9374, allocations: 5.031 kB / 0.8055 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9374, allocations: 6.156 kB / 0.8055 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.9392, allocations: 1.015 MB / 0.8065 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.9397, allocations: 220.8 kB / 0.8067 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.9399, allocations: 14.2 kB / 0.8067 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/0.9407, allocations: 22 kB / 0.8067 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.9408, allocations: 37.61 kB / 0.8068 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.9409, allocations: 21.61 kB / 0.8068 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009417/0.9418, allocations: 0.5065 MB / 0.8073 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9419, allocations: 0 / 0.8073 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001147/0.943, allocations: 307 kB / 0.8076 GB, free: 8.746 MB / 0.5919 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.002858/0.9459, allocations: 1.671 MB / 0.8092 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.9475, allocations: 0.7123 MB / 0.8099 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.9475, allocations: 0.5 kB / 0.8099 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.9481, allocations: 274.3 kB / 0.8101 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.9513, allocations: 444.3 kB / 0.8106 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.9661, allocations: 7.497 MB / 0.8179 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.9673, allocations: 1.127 MB / 0.819 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001486/0.9689, allocations: 269.4 kB / 0.8193 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/0.9695, allocations: 361.5 kB / 0.8196 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of SimCode: time 4.028e-06/0.9695, allocations: 0 / 0.8196 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06928/1.039, allocations: 22.87 MB / 0.8419 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/9.151, allocations: 3.984 kB / 0.8419 GB, free: 1.336 MB / 0.6075 GB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)