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.006992/0.006992, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001539/0.001539, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7651/0.7651, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 69.23 kB / 0.5814 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1744, allocations: 80.2 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6676/0.8421, allocations: 305.1 MB / 0.9576 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03542/0.8775, allocations: 25.79 MB / 0.9828 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005093/0.8827, allocations: 127.2 kB / 0.983 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005438/0.8881, allocations: 1.864 MB / 0.9848 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01776/0.906, allocations: 6.174 MB / 0.9908 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.9128, allocations: 2.641 MB / 0.9934 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01125/0.9241, allocations: 8.909 MB / 1.002 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00491/0.929, allocations: 3.647 MB / 1.006 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/0.9416, allocations: 4.28 MB / 1.01 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005785/0.9475, allocations: 2.969 MB / 1.013 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.9488, allocations: 360 kB / 1.013 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.959, allocations: 4.626 MB / 1.018 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002595/0.9616, allocations: 1.637 MB / 1.019 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004663/0.9663, allocations: 2.131 MB / 1.021 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.9789, allocations: 6.766 MB / 1.028 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.979, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.979, allocations: 8 kB / 1.028 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001898/0.9792, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7481 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.009379/0.9886, allocations: 4.164 MB / 1.032 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.9886, allocations: 12.03 kB / 1.032 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006378/0.995, allocations: 0.936 MB / 1.033 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005973/1.001, allocations: 2.405 MB / 1.035 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/1.001, allocations: 269.3 kB / 1.035 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/1.003, allocations: 291.7 kB / 1.036 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009736/1.012, allocations: 3.359 MB / 1.039 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.489e-05/1.012, allocations: 3.938 kB / 1.039 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005201/1.013, allocations: 116 kB / 1.039 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/1.013, allocations: 109.3 kB / 1.039 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/1.019, allocations: 2.785 MB / 1.042 GB, free: 8.254 MB / 0.7637 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.01713/1.036, allocations: 13.23 MB / 1.055 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/1.039, allocations: 1.827 MB / 1.057 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/1.04, allocations: 1.106 MB / 1.058 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/1.041, allocations: 325.2 kB / 1.058 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/1.041, allocations: 68.55 kB / 1.058 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=182): time 4.147e-06/1.041, allocations: 0 / 1.058 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=182): time 0.005192/1.046, allocations: 2.72 MB / 1.061 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.046, allocations: 73.34 kB / 1.061 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00319/1.049, allocations: 2.001 MB / 1.063 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/1.049, allocations: 69.7 kB / 1.063 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.051, allocations: 1.402 MB / 1.064 GB, free: 140 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008966/1.052, allocations: 0.6393 MB / 1.065 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007316/1.052, allocations: 387.3 kB / 1.065 GB, free: 15.1 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.052, allocations: 305.1 kB / 1.066 GB, free: 14.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/1.054, allocations: 0.8052 MB / 1.066 GB, free: 13.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/1.056, allocations: 1.435 MB / 1.068 GB, free: 12.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/1.059, allocations: 2.252 MB / 1.07 GB, free: 9.84 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.059, allocations: 4 kB / 1.07 GB, free: 9.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004264/1.063, allocations: 2.49 MB / 1.072 GB, free: 7.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/1.063, allocations: 12 kB / 1.072 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/1.063, allocations: 12 kB / 1.072 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.443e-05/1.064, allocations: 24 kB / 1.072 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.066, allocations: 0.5541 MB / 1.073 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/1.069, allocations: 4.157 MB / 1.077 GB, free: 2.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/1.072, allocations: 237.8 kB / 1.077 GB, free: 2.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003935/1.072, allocations: 87.98 kB / 1.077 GB, free: 2.098 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003538/1.076, allocations: 1.453 MB / 1.079 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00255/1.079, allocations: 1.431 MB / 1.08 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003734/1.082, allocations: 2.229 MB / 1.082 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-05/1.082, allocations: 4 kB / 1.082 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.005079/1.087, allocations: 2.482 MB / 1.085 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.087, allocations: 8 kB / 1.085 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/1.087, allocations: 16 kB / 1.085 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-05/1.088, allocations: 20 kB / 1.085 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/1.089, allocations: 471.3 kB / 1.085 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.807e-05/1.089, allocations: 36.23 kB / 1.085 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.092, allocations: 192.7 kB / 1.085 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/1.092, allocations: 83.98 kB / 1.086 GB, free: 9.23 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.0005778/1.093, allocations: 311.6 kB / 1.086 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/1.094, allocations: 268.8 kB / 1.086 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/1.097, allocations: 2.107 MB / 1.088 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.098, allocations: 20 kB / 1.088 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.098, allocations: 0 / 1.088 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002747/1.1, allocations: 1.875 MB / 1.09 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009572/1.11, allocations: 5.158 MB / 1.095 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.11, allocations: 3.938 kB / 1.095 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/1.112, allocations: 0.5115 MB / 1.096 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-05/1.112, allocations: 11.94 kB / 1.096 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/1.113, allocations: 51.97 kB / 1.096 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/1.115, allocations: 4.122 MB / 1.1 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.115, allocations: 7.938 kB / 1.1 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/1.121, allocations: 3.359 MB / 1.103 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.122, allocations: 0.5637 MB / 1.103 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005717/1.123, allocations: 43.98 kB / 1.103 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.125, allocations: 90.27 kB / 1.104 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/1.125, allocations: 117.7 kB / 1.104 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/1.125, allocations: 67.95 kB / 1.104 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002598/1.128, allocations: 1.338 MB / 1.105 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/1.128, allocations: 0 / 1.105 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004936/1.133, allocations: 1.71 MB / 1.107 GB, free: 3.082 MB / 0.8262 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.0008656/1.134, allocations: 356.3 kB / 1.107 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00683/1.141, allocations: 3.303 MB / 1.11 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.141, allocations: 4 kB / 1.11 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/1.143, allocations: 1.027 MB / 1.111 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008657/1.151, allocations: 1.528 MB / 1.113 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.163, allocations: 6.489 MB / 1.119 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/1.166, allocations: 2.201 MB / 1.121 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004047/1.17, allocations: 1.088 MB / 1.122 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/1.171, allocations: 211.4 kB / 1.123 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of SimCode: time 8.02e-07/1.171, allocations: 0 / 1.123 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of Templates: time 0.4435/1.614, allocations: 54.93 MB / 1.176 GB, free: 343.8 MB / 0.8575 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)