Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001388/0.001388, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 197 kB / 16.53 MB, free: 6.391 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 61.19 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1784, allocations: 80.92 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5447/0.7231, allocations: 195.1 MB / 0.7749 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.7419, allocations: 14.32 MB / 0.7888 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.7444, allocations: 35.81 kB / 0.7889 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.7463, allocations: 0.4929 MB / 0.7894 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.7522, allocations: 1.882 MB / 0.7912 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.7553, allocations: 0.8626 MB / 0.792 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004018/0.7593, allocations: 2.574 MB / 0.7946 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.761, allocations: 1.106 MB / 0.7956 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00492/0.7659, allocations: 1.599 MB / 0.7972 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.7677, allocations: 0.9169 MB / 0.7981 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.7679, allocations: 108 kB / 0.7982 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.7706, allocations: 1.099 MB / 0.7993 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005228/0.7711, allocations: 0.491 MB / 0.7997 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008373/0.772, allocations: 0.6339 MB / 0.8004 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.775, allocations: 1.897 MB / 0.8022 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.775, allocations: 7.938 kB / 0.8022 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.775, allocations: 0 / 0.8022 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.775, allocations: 0 / 0.8022 GB, free: 13.72 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.002234/0.7773, allocations: 1.447 MB / 0.8036 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7773, allocations: 8.031 kB / 0.8036 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.7787, allocations: 258.3 kB / 0.8039 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.7799, allocations: 0.7569 MB / 0.8046 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.78, allocations: 74 kB / 0.8047 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7801, allocations: 95.94 kB / 0.8048 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.7817, allocations: 1.169 MB / 0.8059 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.7817, allocations: 3.938 kB / 0.8059 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.7818, allocations: 40 kB / 0.806 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.7819, allocations: 34 kB / 0.806 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.7832, allocations: 0.9015 MB / 0.8069 GB, free: 8.781 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.005413/0.7886, allocations: 5.77 MB / 0.8125 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.7894, allocations: 0.5291 MB / 0.813 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.7898, allocations: 318.5 kB / 0.8133 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006015/0.7904, allocations: 315.7 kB / 0.8136 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.7905, allocations: 43 kB / 0.8137 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/0.7905, allocations: 0 / 0.8137 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001459/0.7919, allocations: 0.7948 MB / 0.8145 GB, free: 492 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.792, allocations: 59.84 kB / 0.8145 GB, free: 420 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.7928, allocations: 0.7547 MB / 0.8153 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.7929, allocations: 41.64 kB / 0.8153 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.7933, allocations: 0.5065 MB / 0.8158 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.7934, allocations: 181.4 kB / 0.816 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.7936, allocations: 138.6 kB / 0.8161 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7938, allocations: 334 kB / 0.8164 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.7941, allocations: 249.9 kB / 0.8167 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.7947, allocations: 0.5584 MB / 0.8172 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.7957, allocations: 0.7995 MB / 0.818 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7957, allocations: 0 / 0.818 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001206/0.7969, allocations: 0.8466 MB / 0.8188 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.7969, allocations: 9.719 kB / 0.8188 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.797, allocations: 8 kB / 0.8188 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.797, allocations: 12 kB / 0.8188 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.7976, allocations: 151.8 kB / 0.819 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.7976, allocations: 19.92 kB / 0.819 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.7983, allocations: 91.3 kB / 0.8191 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.7984, allocations: 36 kB / 0.8191 GB, free: 11.42 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.000415/0.7988, allocations: 329.5 kB / 0.8194 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.799, allocations: 86.97 kB / 0.8195 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/0.8, allocations: 0.6141 MB / 0.8201 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.8, allocations: 4 kB / 0.8201 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8, allocations: 0 / 0.8201 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006882/0.8007, allocations: 0.526 MB / 0.8206 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.8029, allocations: 1.661 MB / 0.8223 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8029, allocations: 4.219 kB / 0.8223 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.8035, allocations: 115.9 kB / 0.8224 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8035, allocations: 4 kB / 0.8224 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.8035, allocations: 19.94 kB / 0.8224 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.8035, allocations: 7.922 kB / 0.8224 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8035, allocations: 4.875 kB / 0.8224 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.8048, allocations: 1.058 MB / 0.8234 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.8051, allocations: 220 kB / 0.8236 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.8052, allocations: 15.98 kB / 0.8237 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.8057, allocations: 15.94 kB / 0.8237 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.8058, allocations: 35.95 kB / 0.8237 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.8058, allocations: 20 kB / 0.8237 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006397/0.8064, allocations: 0.5224 MB / 0.8242 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8064, allocations: 0 / 0.8242 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009084/0.8074, allocations: 295.3 kB / 0.8245 GB, free: 5.723 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.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.0004923/0.8079, allocations: 208.5 kB / 0.8247 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.8091, allocations: 0.7058 MB / 0.8254 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8091, allocations: 0 / 0.8254 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.8094, allocations: 272.2 kB / 0.8257 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.8114, allocations: 454.3 kB / 0.8261 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.8144, allocations: 1.928 MB / 0.828 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.8151, allocations: 1.126 MB / 0.8291 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008481/0.816, allocations: 267.1 kB / 0.8293 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.8162, allocations: 71.36 kB / 0.8294 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.8162, allocations: 0 / 0.8294 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of Templates: time 0.03074/0.8469, allocations: 15.45 MB / 0.8445 GB, free: 1.465 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)