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.001307/0.001307, allocations: 109.8 kB / 16.4 MB, free: 6.375 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.00129/0.00129, allocations: 187.8 kB / 17.33 MB, free: 5.84 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8718/0.8718, allocations: 135.2 MB / 426.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 60.22 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1914, allocations: 80.93 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7954/0.9868, allocations: 305.8 MB / 0.964 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04311/1.03, allocations: 25.84 MB / 0.9892 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005872/1.036, allocations: 127.2 kB / 0.9894 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00657/1.042, allocations: 1.88 MB / 0.9912 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01864/1.061, allocations: 6.183 MB / 0.9972 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00848/1.069, allocations: 2.64 MB / 0.9998 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01536/1.085, allocations: 8.896 MB / 1.009 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006019/1.091, allocations: 3.011 MB / 1.011 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01322/1.104, allocations: 4.289 MB / 1.016 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007193/1.111, allocations: 2.957 MB / 1.019 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001572/1.113, allocations: 360 kB / 1.019 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/1.125, allocations: 4.63 MB / 1.023 GB, free: 80 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003368/1.129, allocations: 1.679 MB / 1.025 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005001/1.134, allocations: 2.131 MB / 1.027 GB, free: 12.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/1.151, allocations: 6.786 MB / 1.034 GB, free: 5.445 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.151, allocations: 7.938 kB / 1.034 GB, free: 5.438 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.844e-06/1.151, allocations: 0 / 1.034 GB, free: 5.438 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000202/1.151, allocations: 0 / 1.034 GB, free: 5.438 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.009623/1.161, allocations: 4.291 MB / 1.038 GB, free: 1.07 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.161, allocations: 13.11 kB / 1.038 GB, free: 1.059 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0061/1.167, allocations: 0.9499 MB / 1.039 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006157/1.173, allocations: 2.426 MB / 1.041 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/1.174, allocations: 273.3 kB / 1.042 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000687/1.174, allocations: 299.9 kB / 1.042 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/1.181, allocations: 3.347 MB / 1.045 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/1.181, allocations: 3.938 kB / 1.045 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/1.181, allocations: 120 kB / 1.045 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/1.181, allocations: 109.3 kB / 1.045 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/1.186, allocations: 2.781 MB / 1.048 GB, free: 6.57 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.4231/1.609, allocations: 13.26 MB / 1.061 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/1.612, allocations: 1.701 MB / 1.063 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/1.614, allocations: 1.009 MB / 1.064 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/1.614, allocations: 327.1 kB / 1.064 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/1.614, allocations: 65.45 kB / 1.064 GB, free: 303.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 4.608e-06/1.614, allocations: 4.516 kB / 1.064 GB, free: 303.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.006046/1.62, allocations: 2.731 MB / 1.067 GB, free: 302.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/1.62, allocations: 72.81 kB / 1.067 GB, free: 302.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/1.624, allocations: 1.996 MB / 1.069 GB, free: 301.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003747/1.624, allocations: 71.3 kB / 1.069 GB, free: 301.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.625, allocations: 1.429 MB / 1.07 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007751/1.626, allocations: 0.6758 MB / 1.071 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/1.627, allocations: 393.9 kB / 1.071 GB, free: 300.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.522e-05/1.627, allocations: 306.3 kB / 1.071 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.628, allocations: 0.811 MB / 1.072 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/1.63, allocations: 1.427 MB / 1.074 GB, free: 298.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/1.633, allocations: 2.257 MB / 1.076 GB, free: 297.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.633, allocations: 3.469 kB / 1.076 GB, free: 297.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004274/1.637, allocations: 2.5 MB / 1.078 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/1.637, allocations: 10.03 kB / 1.078 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/1.637, allocations: 13.91 kB / 1.078 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/1.637, allocations: 23.28 kB / 1.078 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/1.64, allocations: 0.5499 MB / 1.079 GB, free: 296.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/1.641, allocations: 4.167 MB / 1.083 GB, free: 292.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/1.644, allocations: 227.3 kB / 1.083 GB, free: 292 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.644, allocations: 86.41 kB / 1.083 GB, free: 292 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002764/1.647, allocations: 1.462 MB / 1.085 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001523/1.649, allocations: 1.428 MB / 1.086 GB, free: 290.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002689/1.651, allocations: 2.228 MB / 1.088 GB, free: 289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.135e-06/1.651, allocations: 3.969 kB / 1.088 GB, free: 289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003867/1.655, allocations: 2.484 MB / 1.091 GB, free: 288.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.655, allocations: 15.84 kB / 1.091 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.655, allocations: 16.81 kB / 1.091 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.655, allocations: 23.66 kB / 1.091 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.657, allocations: 474.6 kB / 1.091 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/1.657, allocations: 33.53 kB / 1.091 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/1.659, allocations: 193.2 kB / 1.091 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.659, allocations: 89.77 kB / 1.091 GB, free: 287.9 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.0005817/1.66, allocations: 321.5 kB / 1.092 GB, free: 287.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005771/1.661, allocations: 284.7 kB / 1.092 GB, free: 287.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/1.663, allocations: 2.087 MB / 1.094 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.663, allocations: 19.78 kB / 1.094 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.663, allocations: 3.609 kB / 1.094 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/1.666, allocations: 1.887 MB / 1.096 GB, free: 285.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007131/1.673, allocations: 5.155 MB / 1.101 GB, free: 282.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.673, allocations: 8.391 kB / 1.101 GB, free: 282.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.675, allocations: 0.4999 MB / 1.101 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.746e-05/1.675, allocations: 9.344 kB / 1.101 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.675, allocations: 61.33 kB / 1.102 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/1.676, allocations: 4.121 MB / 1.106 GB, free: 278.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.676, allocations: 3.781 kB / 1.106 GB, free: 278.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004008/1.68, allocations: 3.38 MB / 1.109 GB, free: 276.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.681, allocations: 0.5771 MB / 1.109 GB, free: 276 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.682, allocations: 48.3 kB / 1.109 GB, free: 276 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.683, allocations: 87.48 kB / 1.11 GB, free: 275.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/1.683, allocations: 114.4 kB / 1.11 GB, free: 275.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.684, allocations: 75.27 kB / 1.11 GB, free: 275.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001559/1.685, allocations: 1.327 MB / 1.111 GB, free: 275.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.685, allocations: 3.594 kB / 1.111 GB, free: 275.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003625/1.689, allocations: 1.73 MB / 1.113 GB, free: 273.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.0006778/1.689, allocations: 351.1 kB / 1.113 GB, free: 273.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004901/1.694, allocations: 3.13 MB / 1.116 GB, free: 270.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.694, allocations: 0 / 1.116 GB, free: 270.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/1.696, allocations: 0.9606 MB / 1.117 GB, free: 269.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006437/1.702, allocations: 1.535 MB / 1.119 GB, free: 267.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/1.71, allocations: 6.788 MB / 1.125 GB, free: 261.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.712, allocations: 2.185 MB / 1.127 GB, free: 258.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009213/1.713, allocations: 239.3 kB / 1.128 GB, free: 258.7 MB / 0.8106 GB Notification: Performance of SimCode: time 1.082e-06/1.713, allocations: 0 / 1.128 GB, free: 258.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.1047/1.817, allocations: 141.4 MB / 1.266 GB, free: 117.4 MB / 0.8106 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)