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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.0008479, allocations: 100 kB / 15.05 MB, free: 1.105 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.000903/0.000903, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8464/0.8464, allocations: 135.2 MB / 426.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002784, allocations: 9.219 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.4442/0.5818, allocations: 247.2 MB / 0.8286 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.6106, allocations: 23.88 MB / 0.8519 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.6135, allocations: 99.31 kB / 0.852 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.6179, allocations: 1.719 MB / 0.8537 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.6332, allocations: 5.843 MB / 0.8594 GB, free: 5.566 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006854/0.6401, allocations: 2.713 MB / 0.8621 GB, free: 2.898 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.3356/0.9757, allocations: 5.12 MB / 0.8671 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.9794, allocations: 2.584 MB / 0.8696 GB, free: 26.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004796/0.9842, allocations: 2.628 MB / 0.8722 GB, free: 26.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.987, allocations: 1.91 MB / 0.874 GB, free: 26.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00043/0.9875, allocations: 151.1 kB / 0.8742 GB, free: 26.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.9926, allocations: 2.09 MB / 0.8762 GB, free: 26.16 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.9938, allocations: 1.312 MB / 0.8775 GB, free: 26.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.9949, allocations: 0.763 MB / 0.8782 GB, free: 26.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004707/0.9996, allocations: 4.501 MB / 0.8826 GB, free: 25.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.9996, allocations: 2.906 kB / 0.8826 GB, free: 25.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9996, allocations: 0 / 0.8826 GB, free: 25.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.652e-05/0.9997, allocations: 2.188 kB / 0.8826 GB, free: 25.79 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.005712/1.005, allocations: 3.422 MB / 0.886 GB, free: 24.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/1.005, allocations: 9.781 kB / 0.886 GB, free: 24.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/1.011, allocations: 0.9373 MB / 0.8869 GB, free: 23.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006288/1.018, allocations: 2.231 MB / 0.8891 GB, free: 23.34 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/1.018, allocations: 284.7 kB / 0.8893 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007648/1.019, allocations: 288.4 kB / 0.8896 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/1.025, allocations: 3.327 MB / 0.8929 GB, free: 23 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/1.025, allocations: 8.344 kB / 0.8929 GB, free: 23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/1.025, allocations: 114.7 kB / 0.893 GB, free: 23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/1.025, allocations: 103.3 kB / 0.8931 GB, free: 22.99 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/1.03, allocations: 2.79 MB / 0.8958 GB, free: 22.95 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.01717/1.048, allocations: 13.25 MB / 0.9087 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/1.05, allocations: 1.866 MB / 0.9106 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/1.05, allocations: 57.88 kB / 0.9106 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/1.05, allocations: 63.12 kB / 0.9107 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=186): time 3.467e-06/1.05, allocations: 1.75 kB / 0.9107 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=186): time 0.004622/1.055, allocations: 2.776 MB / 0.9134 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.055, allocations: 70.47 kB / 0.9135 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.057, allocations: 1.982 MB / 0.9154 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/1.058, allocations: 71.17 kB / 0.9155 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/1.058, allocations: 1.407 MB / 0.9168 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005493/1.059, allocations: 0.6555 MB / 0.9175 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/1.059, allocations: 41.75 kB / 0.9175 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.059, allocations: 390.2 kB / 0.9179 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/1.06, allocations: 0.802 MB / 0.9187 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/1.062, allocations: 1.455 MB / 0.9201 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/1.063, allocations: 1.057 MB / 0.9211 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.063, allocations: 2.625 kB / 0.9211 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003375/1.066, allocations: 2.497 MB / 0.9236 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001656/1.068, allocations: 5.251 MB / 0.9287 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.068, allocations: 12 kB / 0.9287 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/1.068, allocations: 23.56 kB / 0.9287 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.07, allocations: 0.5634 MB / 0.9293 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/1.072, allocations: 4.156 MB / 0.9333 GB, free: 19.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/1.076, allocations: 385.1 kB / 0.9337 GB, free: 18.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.076, allocations: 86.23 kB / 0.9338 GB, free: 18.9 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/1.076, allocations: 7.266 kB / 0.9338 GB, free: 18.89 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002991/1.079, allocations: 2.221 MB / 0.936 GB, free: 18.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/1.079, allocations: 10.53 kB / 0.936 GB, free: 18.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.079, allocations: 25.53 kB / 0.936 GB, free: 18.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.08, allocations: 486.9 kB / 0.9365 GB, free: 18.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.13e-05/1.08, allocations: 30.84 kB / 0.9365 GB, free: 18.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/1.084, allocations: 361.4 kB / 0.9368 GB, free: 18.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/1.084, allocations: 85.88 kB / 0.9369 GB, free: 18.73 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.001779/1.086, allocations: 0.8622 MB / 0.9378 GB, free: 18.53 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007304/1.086, allocations: 273.4 kB / 0.938 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/1.09, allocations: 2.145 MB / 0.9401 GB, free: 18.26 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.09, allocations: 19.44 kB / 0.9401 GB, free: 18.26 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.09, allocations: 0 / 0.9401 GB, free: 18.26 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00271/1.093, allocations: 1.901 MB / 0.942 GB, free: 17.96 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009226/1.102, allocations: 5.215 MB / 0.9471 GB, free: 17.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.102, allocations: 3.281 kB / 0.9471 GB, free: 17.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.104, allocations: 0.5115 MB / 0.9476 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.598e-05/1.104, allocations: 7.75 kB / 0.9476 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.104, allocations: 48.64 kB / 0.9476 GB, free: 17.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/1.106, allocations: 4.132 MB / 0.9517 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.106, allocations: 5.688 kB / 0.9517 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/1.111, allocations: 3.653 MB / 0.9553 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/1.113, allocations: 0.5775 MB / 0.9558 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007492/1.114, allocations: 43.92 kB / 0.9559 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.116, allocations: 254.4 kB / 0.9561 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/1.116, allocations: 118.9 kB / 0.9562 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.117, allocations: 79.77 kB / 0.9563 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002128/1.119, allocations: 1.316 MB / 0.9576 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.593e-06/1.119, allocations: 0 / 0.9576 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004847/1.124, allocations: 1.72 MB / 0.9593 GB, free: 10.98 MB / 0.7012 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 (186): * Single equations (assignments): 179 * 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.0007646/1.124, allocations: 387.3 kB / 0.9596 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005138/1.13, allocations: 3.334 MB / 0.9629 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.13, allocations: 3.562 kB / 0.9629 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.131, allocations: 1.054 MB / 0.9639 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007303/1.138, allocations: 1.573 MB / 0.9654 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.15, allocations: 7.859 MB / 0.9731 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/1.152, allocations: 2.252 MB / 0.9753 GB, free: 76 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004483/1.156, allocations: 1.108 MB / 0.9764 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008024/1.157, allocations: 229.4 kB / 0.9766 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/1.157, allocations: 4 kB / 0.9766 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of Templates: time 0.08173/1.239, allocations: 52.27 MB / 1.028 GB, free: 11.32 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: