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/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.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.001152/0.001152, allocations: 109.2 kB / 16.38 MB, free: 6.008 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.001262/0.001262, allocations: 191.3 kB / 17.32 MB, free: 5.617 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7936/0.7936, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 60.53 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1794, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9031/1.083, allocations: 305.1 MB / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03823/1.121, allocations: 25.79 MB / 0.9834 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007182/1.128, allocations: 127.2 kB / 0.9836 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006122/1.134, allocations: 1.794 MB / 0.9853 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01932/1.154, allocations: 5.957 MB / 0.9911 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009826/1.163, allocations: 2.626 MB / 0.9937 GB, free: 88 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01437/1.178, allocations: 8.889 MB / 1.002 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00579/1.184, allocations: 3.639 MB / 1.006 GB, free: 3.453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/1.196, allocations: 4.154 MB / 1.01 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006596/1.203, allocations: 2.958 MB / 1.013 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001391/1.204, allocations: 360 kB / 1.013 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/1.216, allocations: 4.603 MB / 1.018 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002889/1.219, allocations: 1.637 MB / 1.019 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004609/1.223, allocations: 2.143 MB / 1.021 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/1.239, allocations: 6.746 MB / 1.028 GB, free: 12.86 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/1.239, allocations: 4 kB / 1.028 GB, free: 12.86 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.384e-06/1.239, allocations: 0 / 1.028 GB, free: 12.86 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001863/1.239, allocations: 0 / 1.028 GB, free: 12.86 MB / 0.795 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.008702/1.248, allocations: 4.176 MB / 1.032 GB, free: 8.609 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.248, allocations: 12.03 kB / 1.032 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005863/1.254, allocations: 0.9321 MB / 1.033 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/1.259, allocations: 2.404 MB / 1.035 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/1.259, allocations: 277.3 kB / 1.036 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005856/1.26, allocations: 291.9 kB / 1.036 GB, free: 4.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005987/1.266, allocations: 3.356 MB / 1.039 GB, free: 1.168 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/1.266, allocations: 0 / 1.039 GB, free: 1.168 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002684/1.266, allocations: 116 kB / 1.039 GB, free: 1.055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/1.266, allocations: 113.3 kB / 1.039 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/1.271, allocations: 2.788 MB / 1.042 GB, free: 14.14 MB / 0.8106 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.4533/1.724, allocations: 13.23 MB / 1.055 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/1.728, allocations: 1.814 MB / 1.057 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/1.729, allocations: 1.106 MB / 1.058 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004536/1.73, allocations: 326.5 kB / 1.058 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/1.73, allocations: 63.95 kB / 1.058 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 3.837e-06/1.73, allocations: 0 / 1.058 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.005506/1.735, allocations: 2.718 MB / 1.061 GB, free: 311.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.735, allocations: 71.16 kB / 1.061 GB, free: 311.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/1.739, allocations: 1.999 MB / 1.063 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/1.739, allocations: 68.05 kB / 1.063 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/1.74, allocations: 1.413 MB / 1.064 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/1.741, allocations: 0.6387 MB / 1.065 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005766/1.741, allocations: 387.9 kB / 1.065 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/1.742, allocations: 303 kB / 1.066 GB, free: 308.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/1.743, allocations: 0.8076 MB / 1.066 GB, free: 308.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.745, allocations: 1.435 MB / 1.068 GB, free: 307.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/1.748, allocations: 2.246 MB / 1.07 GB, free: 306.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.748, allocations: 8.156 kB / 1.07 GB, free: 306.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00477/1.753, allocations: 2.496 MB / 1.072 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.753, allocations: 10.38 kB / 1.072 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.753, allocations: 13.28 kB / 1.072 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.418e-05/1.753, allocations: 23.42 kB / 1.073 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/1.755, allocations: 0.5561 MB / 1.073 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/1.757, allocations: 4.153 MB / 1.077 GB, free: 301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/1.76, allocations: 220.7 kB / 1.077 GB, free: 300.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/1.76, allocations: 87.58 kB / 1.077 GB, free: 300.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002986/1.763, allocations: 1.459 MB / 1.079 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001749/1.765, allocations: 1.427 MB / 1.08 GB, free: 299.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002955/1.768, allocations: 2.234 MB / 1.082 GB, free: 297.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.949e-06/1.768, allocations: 4.125 kB / 1.082 GB, free: 297.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004429/1.772, allocations: 2.474 MB / 1.085 GB, free: 297 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.773, allocations: 11.5 kB / 1.085 GB, free: 297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/1.773, allocations: 13.14 kB / 1.085 GB, free: 297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/1.773, allocations: 27.38 kB / 1.085 GB, free: 297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.774, allocations: 473.8 kB / 1.085 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/1.774, allocations: 33.45 kB / 1.085 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.777, allocations: 196.5 kB / 1.086 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.777, allocations: 83.55 kB / 1.086 GB, free: 296.8 MB / 0.8106 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.0006193/1.778, allocations: 318.6 kB / 1.086 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/1.778, allocations: 273.1 kB / 1.086 GB, free: 296.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/1.781, allocations: 2.107 MB / 1.088 GB, free: 295.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.781, allocations: 15.78 kB / 1.088 GB, free: 295.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.781, allocations: 3.938 kB / 1.088 GB, free: 295.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/1.784, allocations: 1.875 MB / 1.09 GB, free: 294.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007049/1.791, allocations: 5.153 MB / 1.095 GB, free: 292.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.791, allocations: 3.719 kB / 1.095 GB, free: 292.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.793, allocations: 0.5096 MB / 1.096 GB, free: 292.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.793, allocations: 11.84 kB / 1.096 GB, free: 292.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.793, allocations: 51.12 kB / 1.096 GB, free: 292.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/1.794, allocations: 4.119 MB / 1.1 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.794, allocations: 15.56 kB / 1.1 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/1.798, allocations: 3.368 MB / 1.103 GB, free: 286.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.799, allocations: 0.557 MB / 1.104 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/1.799, allocations: 47.14 kB / 1.104 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.801, allocations: 76.91 kB / 1.104 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.801, allocations: 114.3 kB / 1.104 GB, free: 285.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.801, allocations: 73.39 kB / 1.104 GB, free: 285.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001616/1.803, allocations: 1.337 MB / 1.105 GB, free: 285.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8.51e-07/1.803, allocations: 3.969 kB / 1.105 GB, free: 285.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003508/1.806, allocations: 1.716 MB / 1.107 GB, free: 284.7 MB / 0.8106 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.0006983/1.807, allocations: 344.5 kB / 1.107 GB, free: 284.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005057/1.812, allocations: 3.309 MB / 1.11 GB, free: 281.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.812, allocations: 3.844 kB / 1.11 GB, free: 281.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/1.814, allocations: 1.025 MB / 1.111 GB, free: 280.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00637/1.82, allocations: 1.534 MB / 1.113 GB, free: 278.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.83, allocations: 6.695 MB / 1.119 GB, free: 272.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/1.832, allocations: 2.197 MB / 1.122 GB, free: 269.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009631/1.833, allocations: 231.4 kB / 1.122 GB, free: 269.6 MB / 0.8106 GB Notification: Performance of SimCode: time 1.653e-06/1.833, allocations: 0 / 1.122 GB, free: 269.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.1084/1.941, allocations: 140.8 MB / 1.259 GB, free: 128.9 MB / 0.8106 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)