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.001118/0.001118, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.0013/0.0013, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7704/0.7704, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 58.56 kB / 0.5685 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1643, allocations: 77.93 MB / 0.6446 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.7532/0.9175, allocations: 195.1 MB / 0.8351 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.9376, allocations: 14.31 MB / 0.8491 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.94, allocations: 38.47 kB / 0.8491 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.9418, allocations: 0.5114 MB / 0.8496 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006858/0.9487, allocations: 1.876 MB / 0.8514 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.9516, allocations: 0.8678 MB / 0.8523 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004101/0.9557, allocations: 2.584 MB / 0.8548 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.9575, allocations: 1.112 MB / 0.8559 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/0.963, allocations: 1.6 MB / 0.8574 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.9653, allocations: 0.9231 MB / 0.8583 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.9657, allocations: 106.6 kB / 0.8585 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.9688, allocations: 1.102 MB / 0.8595 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005604/0.9694, allocations: 0.4986 MB / 0.86 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009734/0.9704, allocations: 0.63 MB / 0.8606 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.9742, allocations: 1.916 MB / 0.8625 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9742, allocations: 4 kB / 0.8625 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9742, allocations: 0 / 0.8625 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.542e-05/0.9743, allocations: 4 kB / 0.8625 GB, free: 12.64 MB / 0.6231 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.002392/0.9767, allocations: 1.486 MB / 0.864 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9767, allocations: 8.625 kB / 0.864 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.9781, allocations: 259 kB / 0.8642 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.9795, allocations: 0.7889 MB / 0.865 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.979e-05/0.9796, allocations: 77.92 kB / 0.8651 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.9797, allocations: 96 kB / 0.8652 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.9815, allocations: 1.169 MB / 0.8663 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.9815, allocations: 0 / 0.8663 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.9816, allocations: 40 kB / 0.8663 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/0.9817, allocations: 33.94 kB / 0.8664 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.983, allocations: 0.9132 MB / 0.8673 GB, free: 7.617 MB / 0.6231 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.005783/0.9888, allocations: 5.752 MB / 0.8729 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.9897, allocations: 0.5393 MB / 0.8734 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.9901, allocations: 322.6 kB / 0.8737 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.9907, allocations: 311.8 kB / 0.874 GB, free: 188 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.9907, allocations: 46.92 kB / 0.874 GB, free: 132 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.9907, allocations: 0 / 0.874 GB, free: 132 kB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001469/0.9922, allocations: 0.7992 MB / 0.8748 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.9923, allocations: 55.84 kB / 0.8749 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008486/0.9931, allocations: 0.751 MB / 0.8756 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.9932, allocations: 37.7 kB / 0.8757 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.9936, allocations: 0.5194 MB / 0.8762 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.9937, allocations: 186.4 kB / 0.8763 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.9939, allocations: 138.6 kB / 0.8765 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.994, allocations: 341.9 kB / 0.8768 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.9944, allocations: 245.9 kB / 0.877 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.995, allocations: 0.5585 MB / 0.8776 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.996, allocations: 0.7918 MB / 0.8783 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.996, allocations: 4 kB / 0.8784 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001258/0.9973, allocations: 0.855 MB / 0.8792 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.9973, allocations: 12.03 kB / 0.8792 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.9973, allocations: 8 kB / 0.8792 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.9974, allocations: 12 kB / 0.8792 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.9979, allocations: 151.8 kB / 0.8794 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/0.998, allocations: 19.92 kB / 0.8794 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.9987, allocations: 91.34 kB / 0.8795 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.9988, allocations: 35.94 kB / 0.8795 GB, free: 10.24 MB / 0.6387 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.000496/0.9993, allocations: 338.3 kB / 0.8798 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.9994, allocations: 91.44 kB / 0.8799 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1, allocations: 0.6179 MB / 0.8805 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1, allocations: 4 kB / 0.8805 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1, allocations: 0 / 0.8805 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007254/1.001, allocations: 0.5134 MB / 0.881 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/1.004, allocations: 1.679 MB / 0.8827 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.004, allocations: 0 / 0.8827 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/1.004, allocations: 115.8 kB / 0.8828 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.004, allocations: 4.219 kB / 0.8828 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/1.004, allocations: 12 kB / 0.8828 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.004, allocations: 8 kB / 0.8828 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.004, allocations: 7.938 kB / 0.8828 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/1.006, allocations: 1.016 MB / 0.8838 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/1.006, allocations: 232.3 kB / 0.884 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.006, allocations: 16 kB / 0.884 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/1.007, allocations: 11.98 kB / 0.884 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.007, allocations: 43.81 kB / 0.8841 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/1.007, allocations: 20 kB / 0.8841 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008141/1.008, allocations: 0.5107 MB / 0.8846 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.008, allocations: 0 / 0.8846 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001077/1.009, allocations: 303.4 kB / 0.8849 GB, free: 4.559 MB / 0.6387 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.0005687/1.01, allocations: 204.3 kB / 0.8851 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001015/1.011, allocations: 0.6184 MB / 0.8857 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.011, allocations: 0 / 0.8857 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/1.011, allocations: 273.2 kB / 0.8859 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.013, allocations: 444.4 kB / 0.8864 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/1.016, allocations: 1.956 MB / 0.8883 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/1.017, allocations: 1.121 MB / 0.8894 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009368/1.018, allocations: 267 kB / 0.8896 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/1.018, allocations: 67.42 kB / 0.8897 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/1.018, allocations: 4 kB / 0.8897 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.03131/1.05, allocations: 15.58 MB / 0.9049 GB, free: 212 kB / 0.6544 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)