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.001274/0.001274, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001341/0.001341, allocations: 183.9 kB / 17.35 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7759/0.7759, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.22 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4988/0.6275, allocations: 195.1 MB / 0.8509 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.6442, allocations: 14.3 MB / 0.8648 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.6459, allocations: 40.62 kB / 0.8649 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.6479, allocations: 0.5163 MB / 0.8654 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.653, allocations: 1.956 MB / 0.8673 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.6554, allocations: 0.8669 MB / 0.8681 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003139/0.6586, allocations: 2.579 MB / 0.8707 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.6601, allocations: 1.12 MB / 0.8718 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.664, allocations: 1.644 MB / 0.8734 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.6656, allocations: 0.9164 MB / 0.8743 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.6659, allocations: 108 kB / 0.8744 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.668, allocations: 1.107 MB / 0.8754 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.6686, allocations: 0.5026 MB / 0.8759 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.6697, allocations: 0.6377 MB / 0.8765 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.6721, allocations: 1.909 MB / 0.8784 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.6722, allocations: 7.984 kB / 0.8784 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of FrontEnd: time 6.632e-06/0.6722, allocations: 4 kB / 0.8784 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.635e-05/0.6722, allocations: 3.938 kB / 0.8784 GB, free: 6.59 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.002224/0.6744, allocations: 1.445 MB / 0.8798 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6745, allocations: 8.031 kB / 0.8798 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.6759, allocations: 258.3 kB / 0.8801 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.6772, allocations: 0.7882 MB / 0.8809 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.6773, allocations: 73.98 kB / 0.8809 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6774, allocations: 96 kB / 0.881 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.6791, allocations: 1.173 MB / 0.8822 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.6791, allocations: 4 kB / 0.8822 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/0.6792, allocations: 36 kB / 0.8822 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.6792, allocations: 38 kB / 0.8822 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.6806, allocations: 0.8976 MB / 0.8831 GB, free: 1.609 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.005306/0.6859, allocations: 5.739 MB / 0.8887 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.6866, allocations: 0.5319 MB / 0.8892 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.6871, allocations: 314.6 kB / 0.8895 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005653/0.6876, allocations: 315.7 kB / 0.8898 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.6877, allocations: 42.94 kB / 0.8899 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.195e-06/0.6877, allocations: 0 / 0.8899 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001407/0.6891, allocations: 0.7948 MB / 0.8907 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.6891, allocations: 59.84 kB / 0.8907 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.69, allocations: 0.7586 MB / 0.8915 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.69, allocations: 37.7 kB / 0.8915 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.6904, allocations: 0.5065 MB / 0.892 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.6905, allocations: 177.5 kB / 0.8922 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.6907, allocations: 146.5 kB / 0.8923 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6908, allocations: 334 kB / 0.8926 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.6912, allocations: 249.8 kB / 0.8929 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.6918, allocations: 0.5605 MB / 0.8934 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009367/0.6927, allocations: 0.7918 MB / 0.8942 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6927, allocations: 4 kB / 0.8942 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001248/0.694, allocations: 0.8465 MB / 0.895 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.694, allocations: 8 kB / 0.895 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.694, allocations: 8 kB / 0.895 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.6941, allocations: 12 kB / 0.895 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.6947, allocations: 163.7 kB / 0.8952 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.6947, allocations: 15.94 kB / 0.8952 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.6954, allocations: 91.45 kB / 0.8953 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.6955, allocations: 39.92 kB / 0.8953 GB, free: 4.254 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.0004259/0.6959, allocations: 329.5 kB / 0.8956 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.6961, allocations: 86.88 kB / 0.8957 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009797/0.6971, allocations: 0.6179 MB / 0.8963 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006839/0.6978, allocations: 0.5134 MB / 0.8968 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6978, allocations: 0 / 0.8968 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.6981, allocations: 235.8 kB / 0.8971 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6983, allocations: 8 kB / 0.8971 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.6987, allocations: 12 kB / 0.8971 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.6988, allocations: 32.39 kB / 0.8971 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001161/0.6999, allocations: 0.6714 MB / 0.8978 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001316/0.7013, allocations: 1.11 MB / 0.8988 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003256/0.7016, allocations: 263.4 kB / 0.8991 GB, free: 332 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005928/0.7022, allocations: 0.5107 MB / 0.8996 GB, free: 15.82 MB / 0.67 GB Notification: Performance of Backend: time 3.4e-07/0.7022, allocations: 3.938 kB / 0.8996 GB, free: 15.81 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.704, allocations: 0.7347 MB / 0.9003 GB, free: 15.09 MB / 0.67 GB Notification: Performance of SimCode: time 0.003774/0.7078, allocations: 2.473 MB / 0.9027 GB, free: 12.59 MB / 0.67 GB Notification: Performance of Templates: time 0.02805/0.7358, allocations: 17.91 MB / 0.9202 GB, free: 10.89 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)