Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001267, allocations: 175.7 kB / 7.648 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 130.7 MB / 138.7 MB, free: 3.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 391.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008808, allocations: 100.1 kB / 473.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.584e-05, allocations: 0 / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5143/0.5143, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.047/6.561, allocations: 1.942 GB / 2.57 GB, free: 180.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/6.562, allocations: 87.97 kB / 2.57 GB, free: 180.7 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.381/14.94, allocations: 2.041 GB / 4.611 GB, free: 54.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.655e-06/14.94, allocations: 0 / 4.611 GB, free: 54.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005606/14.94, allocations: 91.22 kB / 4.611 GB, free: 54.25 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01462/14.96, allocations: 3.49 MB / 4.615 GB, free: 52.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/14.96, allocations: 7.594 kB / 4.615 GB, free: 52.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008702/14.97, allocations: 0.9222 MB / 4.616 GB, free: 51.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/14.98, allocations: 2.895 MB / 4.619 GB, free: 49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/14.98, allocations: 172.8 kB / 4.619 GB, free: 48.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/14.98, allocations: 179.9 kB / 4.619 GB, free: 48.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007295/14.99, allocations: 2.428 MB / 4.621 GB, free: 46.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/15, allocations: 2.741 MB / 4.624 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/15, allocations: 4 kB / 4.624 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/15, allocations: 4 kB / 4.624 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/15, allocations: 113.3 kB / 4.624 GB, free: 43.27 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.02679/15.03, allocations: 12.67 MB / 4.636 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/15.03, allocations: 1.69 MB / 4.638 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/15.03, allocations: 1.008 MB / 4.639 GB, free: 26.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/15.03, allocations: 324.2 kB / 4.639 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/15.03, allocations: 60.5 kB / 4.639 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=182): time 3.888e-06/15.03, allocations: 0 / 4.639 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.004233/15.03, allocations: 1.855 MB / 4.641 GB, free: 24.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/15.03, allocations: 77.36 kB / 4.641 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/15.04, allocations: 1.425 MB / 4.643 GB, free: 23.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/15.04, allocations: 29.7 kB / 4.643 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/15.04, allocations: 1.414 MB / 4.644 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006507/15.04, allocations: 0.6197 MB / 4.645 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/15.04, allocations: 0 / 4.645 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00015/15.04, allocations: 389.8 kB / 4.645 GB, free: 20.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/15.04, allocations: 0.7186 MB / 4.646 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/15.04, allocations: 1.384 MB / 4.647 GB, free: 18.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/15.04, allocations: 0.9916 MB / 4.648 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/15.04, allocations: 0 / 4.648 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004099/15.05, allocations: 2.225 MB / 4.65 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001631/15.05, allocations: 5.495 MB / 4.656 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/15.05, allocations: 12 kB / 4.656 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.515e-05/15.05, allocations: 24 kB / 4.656 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/15.05, allocations: 0.5201 MB / 4.656 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/15.05, allocations: 4.177 MB / 4.66 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/15.06, allocations: 313.2 kB / 4.661 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/15.06, allocations: 87.98 kB / 4.661 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/15.06, allocations: 7.938 kB / 4.661 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003566/15.06, allocations: 1.909 MB / 4.663 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/15.06, allocations: 19.95 kB / 4.663 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/15.06, allocations: 24.84 kB / 4.663 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/15.06, allocations: 479.3 kB / 4.663 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.584e-05/15.06, allocations: 27.94 kB / 4.663 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004149/15.07, allocations: 290.3 kB / 4.663 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/15.07, allocations: 88 kB / 4.663 GB, free: 0.8164 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007487/15.07, allocations: 167.7 kB / 4.664 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/15.07, allocations: 256.9 kB / 4.664 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/15.08, allocations: 1.887 MB / 4.666 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/15.08, allocations: 20 kB / 4.666 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/15.08, allocations: 4 kB / 4.666 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002814/15.08, allocations: 1.718 MB / 4.667 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/15.09, allocations: 4.637 MB / 4.672 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/15.09, allocations: 3.938 kB / 4.672 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/15.09, allocations: 0.5128 MB / 4.672 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.469e-05/15.09, allocations: 8 kB / 4.672 GB, free: 7.512 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/15.09, allocations: 31.97 kB / 4.672 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/15.09, allocations: 4.133 MB / 4.677 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/15.09, allocations: 352 / 4.677 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7145/15.81, allocations: 3.342 MB / 4.68 GB, free: 77.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/15.81, allocations: 0.5522 MB / 4.68 GB, free: 77.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/15.81, allocations: 18.64 kB / 4.68 GB, free: 77.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00345/15.82, allocations: 216.8 kB / 4.681 GB, free: 77.81 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/15.82, allocations: 114.9 kB / 4.681 GB, free: 77.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/15.82, allocations: 73.34 kB / 4.681 GB, free: 77.81 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002455/15.82, allocations: 1.064 MB / 4.682 GB, free: 77.67 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.81e-07/15.82, allocations: 0 / 4.682 GB, free: 77.67 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007827/15.83, allocations: 1.925 MB / 4.684 GB, free: 77.65 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009071/15.84, allocations: 5.202 MB / 4.689 GB, free: 75.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006489/15.84, allocations: 3.062 MB / 4.692 GB, free: 75.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/15.84, allocations: 1.625 kB / 4.692 GB, free: 75.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/15.84, allocations: 0.9362 MB / 4.693 GB, free: 75.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008948/15.85, allocations: 1.45 MB / 4.694 GB, free: 75.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/15.87, allocations: 5.422 MB / 4.699 GB, free: 74.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/15.87, allocations: 2.256 MB / 4.702 GB, free: 73.33 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005927/15.87, allocations: 1.263 MB / 4.703 GB, free: 73.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/15.87, allocations: 174.2 kB / 4.703 GB, free: 73.29 MB / 0.7605 GB Notification: Performance of SimCode: time 1.823e-06/15.87, allocations: 2.875 kB / 4.703 GB, free: 73.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.1209/16, allocations: 73.42 MB / 4.775 GB, free: 68.91 MB / 0.7605 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)