Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009253, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009762/0.0009762, allocations: 173 kB / 16.92 MB, free: 6.652 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 9.562 kB / 0.5082 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2093, allocations: 82.3 MB / 0.5886 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.033/1.242, allocations: 298.7 MB / 0.8803 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03197/1.274, allocations: 25.7 MB / 0.9054 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005913/1.28, allocations: 109.9 kB / 0.9055 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005536/1.286, allocations: 1.543 MB / 0.907 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01768/1.304, allocations: 5.616 MB / 0.9125 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007752/1.311, allocations: 2.365 MB / 0.9148 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01943/1.331, allocations: 12.4 MB / 0.9269 GB, free: 1.219 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007391/1.338, allocations: 2.996 MB / 0.9299 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0145/1.353, allocations: 3.572 MB / 0.9333 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008114/1.361, allocations: 2.933 MB / 0.9362 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/1.362, allocations: 148.8 kB / 0.9363 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/1.376, allocations: 5.275 MB / 0.9415 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003392/1.38, allocations: 1.429 MB / 0.9429 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005708/1.385, allocations: 1.883 MB / 0.9447 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/1.396, allocations: 4.974 MB / 0.9496 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/1.396, allocations: 0 / 0.9496 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.648e-06/1.396, allocations: 2.516 kB / 0.9496 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000186/1.397, allocations: 0 / 0.9496 GB, free: 13.74 MB / 0.6856 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.008295/1.405, allocations: 3.442 MB / 0.953 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.405, allocations: 12.22 kB / 0.953 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006119/1.411, allocations: 0.9284 MB / 0.9539 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/1.416, allocations: 2.268 MB / 0.9561 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/1.416, allocations: 279.8 kB / 0.9564 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004783/1.417, allocations: 284.8 kB / 0.9566 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/1.422, allocations: 3.369 MB / 0.9599 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.798e-05/1.422, allocations: 6.531 kB / 0.9599 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/1.422, allocations: 112.9 kB / 0.96 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.587e-05/1.423, allocations: 111 kB / 0.9601 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/1.427, allocations: 2.792 MB / 0.9629 GB, free: 8.719 MB / 0.6856 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.01763/1.444, allocations: 13.24 MB / 0.9758 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/1.447, allocations: 1.818 MB / 0.9776 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/1.448, allocations: 1.11 MB / 0.9786 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/1.449, allocations: 319.2 kB / 0.979 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/1.449, allocations: 58.5 kB / 0.979 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 4.007e-06/1.449, allocations: 0 / 0.979 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005094/1.454, allocations: 2.73 MB / 0.9817 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/1.454, allocations: 73.41 kB / 0.9817 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/1.457, allocations: 1.995 MB / 0.9837 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002754/1.457, allocations: 68.08 kB / 0.9838 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.458, allocations: 1.417 MB / 0.9851 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007861/1.459, allocations: 0.6378 MB / 0.9858 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.459, allocations: 168.2 kB / 0.9859 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.459, allocations: 311.7 kB / 0.9862 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.461, allocations: 0.7965 MB / 0.987 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/1.463, allocations: 1.442 MB / 0.9884 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/1.466, allocations: 2.253 MB / 0.9906 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.466, allocations: 4 kB / 0.9906 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004197/1.47, allocations: 2.494 MB / 0.993 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003255/1.47, allocations: 486.4 kB / 0.9935 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.47, allocations: 20 kB / 0.9935 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/1.47, allocations: 27.94 kB / 0.9936 GB, free: 416 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.473, allocations: 0.5578 MB / 0.9941 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/1.475, allocations: 4.157 MB / 0.9982 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/1.478, allocations: 372.5 kB / 0.9985 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.478, allocations: 90.52 kB / 0.9986 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.478, allocations: 11.94 kB / 0.9986 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003312/1.482, allocations: 2.209 MB / 1.001 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.482, allocations: 16 kB / 1.001 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.482, allocations: 20 kB / 1.001 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.483, allocations: 479.2 kB / 1.001 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.808e-05/1.483, allocations: 33.14 kB / 1.001 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.487, allocations: 337.9 kB / 1.002 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.487, allocations: 91.97 kB / 1.002 GB, free: 8.07 MB / 0.7169 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 () * Number of clocked 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001686/1.488, allocations: 0.8625 MB / 1.003 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005645/1.489, allocations: 276.7 kB / 1.003 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/1.492, allocations: 2.098 MB / 1.005 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/1.492, allocations: 22.84 kB / 1.005 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.492, allocations: 0 / 1.005 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00252/1.495, allocations: 1.877 MB / 1.007 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009469/1.504, allocations: 5.167 MB / 1.012 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.504, allocations: 0 / 1.012 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.507, allocations: 0.5083 MB / 1.012 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/1.507, allocations: 12 kB / 1.012 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/1.507, allocations: 55.91 kB / 1.012 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/1.509, allocations: 4.125 MB / 1.016 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.509, allocations: 4 kB / 1.016 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005053/1.514, allocations: 3.378 MB / 1.02 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.516, allocations: 0.5638 MB / 1.02 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/1.516, allocations: 50.66 kB / 1.02 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/1.519, allocations: 246.7 kB / 1.02 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.519, allocations: 120.4 kB / 1.021 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.519, allocations: 67.97 kB / 1.021 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002293/1.522, allocations: 1.334 MB / 1.022 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/1.522, allocations: 4 kB / 1.022 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005211/1.527, allocations: 1.718 MB / 1.024 GB, free: 1.316 MB / 0.7325 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 () * Number of clocked 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009369/1.528, allocations: 357 kB / 1.024 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006794/1.535, allocations: 3.308 MB / 1.027 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.535, allocations: 0 / 1.027 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/1.537, allocations: 1.031 MB / 1.028 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/1.547, allocations: 1.606 MB / 1.03 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.56, allocations: 8.306 MB / 1.038 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/1.563, allocations: 2.185 MB / 1.04 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.564, allocations: 235.4 kB / 1.04 GB, free: 484 kB / 0.7481 GB Notification: Performance of SimCode: time 2.145e-06/1.564, allocations: 0 / 1.04 GB, free: 484 kB / 0.7481 GB Notification: Performance of Templates: time 0.4212/1.985, allocations: 140.9 MB / 1.178 GB, free: 408.5 MB / 0.8731 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)