Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001302/0.001302, allocations: 106.9 kB / 16.41 MB, free: 6.488 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.001099/0.001099, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 63.97 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1817, allocations: 80.22 MB / 0.6604 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6034/0.7851, allocations: 195.1 MB / 0.8509 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.8035, allocations: 14.31 MB / 0.8648 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.8052, allocations: 37 kB / 0.8649 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.807, allocations: 0.4896 MB / 0.8653 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.8124, allocations: 1.888 MB / 0.8672 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.815, allocations: 0.8645 MB / 0.868 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.8184, allocations: 2.58 MB / 0.8706 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.8199, allocations: 1.113 MB / 0.8716 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.8241, allocations: 1.619 MB / 0.8732 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.8258, allocations: 0.9147 MB / 0.8741 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.826, allocations: 108 kB / 0.8742 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.8283, allocations: 1.099 MB / 0.8753 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.8288, allocations: 0.5026 MB / 0.8758 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007384/0.8296, allocations: 0.6377 MB / 0.8764 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.8323, allocations: 1.916 MB / 0.8783 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8323, allocations: 0 / 0.8783 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8323, allocations: 0 / 0.8783 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.8323, allocations: 0 / 0.8783 GB, free: 6.797 MB / 0.6387 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.002218/0.8346, allocations: 1.453 MB / 0.8797 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8346, allocations: 8.031 kB / 0.8797 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.8359, allocations: 250.4 kB / 0.8799 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.8373, allocations: 0.7959 MB / 0.8807 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.8374, allocations: 70 kB / 0.8808 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.8375, allocations: 96 kB / 0.8809 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.8392, allocations: 1.173 MB / 0.882 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.8392, allocations: 7.938 kB / 0.882 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.8393, allocations: 40 kB / 0.8821 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.8393, allocations: 30 kB / 0.8821 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.8406, allocations: 0.8976 MB / 0.883 GB, free: 1.812 MB / 0.6387 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.005538/0.8462, allocations: 5.735 MB / 0.8886 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.847, allocations: 0.5396 MB / 0.8891 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.8474, allocations: 318.6 kB / 0.8894 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.848, allocations: 311.8 kB / 0.8897 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.848, allocations: 35 kB / 0.8897 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 3.085e-06/0.848, allocations: 3.938 kB / 0.8897 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001468/0.8495, allocations: 0.8065 MB / 0.8905 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.8496, allocations: 55.84 kB / 0.8906 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/0.8504, allocations: 0.7586 MB / 0.8913 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.8505, allocations: 37.7 kB / 0.8914 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.8509, allocations: 0.5027 MB / 0.8918 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.851, allocations: 177.5 kB / 0.892 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.8512, allocations: 146.5 kB / 0.8922 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8513, allocations: 338 kB / 0.8925 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.8517, allocations: 245.8 kB / 0.8927 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.8523, allocations: 0.5577 MB / 0.8933 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.8532, allocations: 0.7995 MB / 0.894 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8532, allocations: 0 / 0.894 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001292/0.8545, allocations: 0.8463 MB / 0.8949 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.8546, allocations: 11.98 kB / 0.8949 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8546, allocations: 8 kB / 0.8949 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.8546, allocations: 12 kB / 0.8949 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.8552, allocations: 155.8 kB / 0.895 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.8552, allocations: 20.44 kB / 0.8951 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.8559, allocations: 93.16 kB / 0.8952 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.856, allocations: 32 kB / 0.8952 GB, free: 4.461 MB / 0.6544 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.0004445/0.8565, allocations: 333.5 kB / 0.8955 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.8566, allocations: 86.88 kB / 0.8956 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009377/0.8575, allocations: 0.6102 MB / 0.8962 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8576, allocations: 8 kB / 0.8962 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8576, allocations: 3.938 kB / 0.8962 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006926/0.8583, allocations: 0.5172 MB / 0.8967 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.8607, allocations: 1.671 MB / 0.8983 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8607, allocations: 0 / 0.8983 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.8612, allocations: 115.8 kB / 0.8984 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.8612, allocations: 4 kB / 0.8984 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.8613, allocations: 12 kB / 0.8985 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.8613, allocations: 4 kB / 0.8985 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8613, allocations: 0 / 0.8985 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.8626, allocations: 1.054 MB / 0.8995 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.8629, allocations: 231.9 kB / 0.8997 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.863, allocations: 12 kB / 0.8997 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.8635, allocations: 23.98 kB / 0.8997 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.8635, allocations: 31.95 kB / 0.8998 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.8636, allocations: 23.88 kB / 0.8998 GB, free: 15.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005982/0.8642, allocations: 0.5107 MB / 0.9003 GB, free: 15.06 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8642, allocations: 0 / 0.9003 GB, free: 15.06 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008679/0.8651, allocations: 295.3 kB / 0.9006 GB, free: 14.77 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.0005028/0.8656, allocations: 213.1 kB / 0.9008 GB, free: 14.58 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009146/0.8665, allocations: 0.6046 MB / 0.9014 GB, free: 13.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8665, allocations: 4 kB / 0.9014 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.8669, allocations: 283.5 kB / 0.9016 GB, free: 13.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.8686, allocations: 442.5 kB / 0.9021 GB, free: 13.29 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.8715, allocations: 1.979 MB / 0.904 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.8722, allocations: 1.125 MB / 0.9051 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.8724, allocations: 79.42 kB / 0.9052 GB, free: 10.02 MB / 0.67 GB Notification: Performance of SimCode: time 2.435e-06/0.8724, allocations: 4 kB / 0.9052 GB, free: 10.02 MB / 0.67 GB Notification: Performance of Templates: time 0.02222/0.8946, allocations: 14.69 MB / 0.9195 GB, free: 11.46 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)