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: translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001244/0.001244, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.285/1.285, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7068/0.7068, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3543, allocations: 76.15 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.1914/0.5457, allocations: 195.1 MB / 0.7481 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3159/0.8616, allocations: 14.3 MB / 0.762 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.8629, allocations: 36.53 kB / 0.7621 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.8642, allocations: 0.4942 MB / 0.7625 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.8686, allocations: 1.889 MB / 0.7644 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.8708, allocations: 0.8654 MB / 0.7652 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002976/0.8738, allocations: 2.582 MB / 0.7678 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.8753, allocations: 1.112 MB / 0.7688 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.8793, allocations: 1.603 MB / 0.7704 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.8807, allocations: 0.9237 MB / 0.7713 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.8809, allocations: 106.3 kB / 0.7714 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.8831, allocations: 1.099 MB / 0.7725 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.8836, allocations: 0.4923 MB / 0.773 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007444/0.8844, allocations: 0.6384 MB / 0.7736 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.8867, allocations: 1.907 MB / 0.7755 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8867, allocations: 1.938 kB / 0.7755 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8867, allocations: 0 / 0.7755 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.8867, allocations: 0 / 0.7755 GB, free: 1.426 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.002293/0.889, allocations: 1.455 MB / 0.7769 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.8891, allocations: 10 kB / 0.7769 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.8904, allocations: 251.8 kB / 0.7771 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.8919, allocations: 0.7901 MB / 0.7779 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.892, allocations: 67.88 kB / 0.778 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.8922, allocations: 107.5 kB / 0.7781 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.8938, allocations: 1.166 MB / 0.7792 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.8938, allocations: 5.719 kB / 0.7792 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.8939, allocations: 39.44 kB / 0.7792 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.894, allocations: 39.38 kB / 0.7793 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.8953, allocations: 0.8978 MB / 0.7802 GB, free: 16.04 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.00586/0.9012, allocations: 5.747 MB / 0.7858 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008592/0.902, allocations: 0.5415 MB / 0.7863 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.9025, allocations: 318.6 kB / 0.7866 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/0.9031, allocations: 312.2 kB / 0.7869 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.9032, allocations: 40.55 kB / 0.7869 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.985e-06/0.9032, allocations: 0 / 0.7869 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001483/0.9047, allocations: 0.8052 MB / 0.7877 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.9047, allocations: 57.97 kB / 0.7878 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.9055, allocations: 0.7514 MB / 0.7885 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.9056, allocations: 36.33 kB / 0.7886 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.9059, allocations: 0.5065 MB / 0.789 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.9061, allocations: 180.7 kB / 0.7892 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.9063, allocations: 146 kB / 0.7894 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9064, allocations: 334.5 kB / 0.7897 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.9067, allocations: 245.2 kB / 0.7899 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.9074, allocations: 0.557 MB / 0.7905 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.9083, allocations: 0.8029 MB / 0.7912 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.9083, allocations: 5 kB / 0.7912 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001101/0.9094, allocations: 0.8475 MB / 0.7921 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.9094, allocations: 12.83 kB / 0.7921 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.9094, allocations: 8.938 kB / 0.7921 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.9094, allocations: 11.81 kB / 0.7921 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.9099, allocations: 157.4 kB / 0.7923 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.91, allocations: 14.25 kB / 0.7923 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.9107, allocations: 86.52 kB / 0.7923 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.9108, allocations: 38.38 kB / 0.7924 GB, free: 10.13 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.0004292/0.9112, allocations: 334.7 kB / 0.7927 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.9114, allocations: 87.81 kB / 0.7928 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.9122, allocations: 0.6194 MB / 0.7934 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9122, allocations: 4.188 kB / 0.7934 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9122, allocations: 2.562 kB / 0.7934 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005811/0.9128, allocations: 0.5141 MB / 0.7939 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.9154, allocations: 1.673 MB / 0.7955 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9154, allocations: 4.156 kB / 0.7955 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.9159, allocations: 112.5 kB / 0.7956 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.9159, allocations: 4.094 kB / 0.7957 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.916, allocations: 16.73 kB / 0.7957 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.982e-05/0.916, allocations: 10.25 kB / 0.7957 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.916, allocations: 3.594 kB / 0.7957 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.9173, allocations: 1.015 MB / 0.7967 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.9177, allocations: 222.2 kB / 0.7969 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.9178, allocations: 13.44 kB / 0.7969 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.9182, allocations: 24.62 kB / 0.7969 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.9183, allocations: 30.55 kB / 0.7969 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.9183, allocations: 21.77 kB / 0.797 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005589/0.9189, allocations: 0.511 MB / 0.7975 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9189, allocations: 0 / 0.7975 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008978/0.9198, allocations: 303.2 kB / 0.7978 GB, free: 8.922 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.0005036/0.9203, allocations: 211.4 kB / 0.798 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008262/0.9211, allocations: 0.6096 MB / 0.7986 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.9212, allocations: 4.344 kB / 0.7986 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.9214, allocations: 272.1 kB / 0.7988 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.9231, allocations: 443.5 kB / 0.7992 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.9256, allocations: 1.924 MB / 0.8011 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.9263, allocations: 1.123 MB / 0.8022 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006964/0.927, allocations: 263.4 kB / 0.8025 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.9272, allocations: 73.25 kB / 0.8025 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.9272, allocations: 1.641 kB / 0.8025 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of Templates: time 0.02405/0.9512, allocations: 15.39 MB / 0.8176 GB, free: 1.812 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)