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.001166/0.001166, allocations: 105.3 kB / 16.41 MB, free: 6.461 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.001174/0.001174, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7694/0.7694, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 66.19 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 80.93 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6109/0.7519, allocations: 305.1 MB / 0.9633 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03452/0.7865, allocations: 25.79 MB / 0.9885 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004799/0.7913, allocations: 131.2 kB / 0.9886 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005202/0.7966, allocations: 1.794 MB / 0.9903 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01507/0.8117, allocations: 5.953 MB / 0.9961 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007905/0.8196, allocations: 2.63 MB / 0.9987 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01125/0.8309, allocations: 8.895 MB / 1.007 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.8357, allocations: 3.637 MB / 1.011 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009664/0.8454, allocations: 4.22 MB / 1.015 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005142/0.8505, allocations: 2.964 MB / 1.018 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007551/0.8513, allocations: 363.9 kB / 1.018 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008394/0.8597, allocations: 4.599 MB / 1.023 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.8613, allocations: 1.644 MB / 1.024 GB, free: 14.9 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.864, allocations: 2.131 MB / 1.026 GB, free: 12.76 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00933/0.8733, allocations: 6.758 MB / 1.033 GB, free: 5.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8734, allocations: 0 / 1.033 GB, free: 5.98 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8734, allocations: 0 / 1.033 GB, free: 5.98 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.761e-05/0.8735, allocations: 4 kB / 1.033 GB, free: 5.977 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.006027/0.8795, allocations: 4.172 MB / 1.037 GB, free: 1.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.8795, allocations: 13.11 kB / 1.037 GB, free: 1.723 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/0.8844, allocations: 0.9361 MB / 1.038 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.8888, allocations: 2.4 MB / 1.04 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.8891, allocations: 277.3 kB / 1.041 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004071/0.8895, allocations: 291.9 kB / 1.041 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004835/0.8943, allocations: 3.355 MB / 1.044 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/0.8944, allocations: 0 / 1.044 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.8946, allocations: 120 kB / 1.044 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-05/0.8947, allocations: 109.3 kB / 1.044 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.8986, allocations: 2.785 MB / 1.047 GB, free: 7.266 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.3123/1.211, allocations: 13.22 MB / 1.06 GB, free: 305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/1.214, allocations: 1.827 MB / 1.062 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/1.215, allocations: 1.104 MB / 1.063 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/1.216, allocations: 324.5 kB / 1.063 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/1.216, allocations: 57.56 kB / 1.063 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 3.456e-06/1.216, allocations: 2.625 kB / 1.063 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.005534/1.221, allocations: 2.721 MB / 1.066 GB, free: 303 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.221, allocations: 74.84 kB / 1.066 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/1.224, allocations: 1.998 MB / 1.068 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.225, allocations: 67.98 kB / 1.068 GB, free: 302.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008767/1.225, allocations: 1.403 MB / 1.069 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/1.226, allocations: 0.6427 MB / 1.07 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000519/1.227, allocations: 393.2 kB / 1.07 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/1.227, allocations: 306.4 kB / 1.071 GB, free: 300.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.228, allocations: 0.8047 MB / 1.072 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/1.229, allocations: 1.431 MB / 1.073 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/1.232, allocations: 2.255 MB / 1.075 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.232, allocations: 3.438 kB / 1.075 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00385/1.236, allocations: 2.493 MB / 1.078 GB, free: 296.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.236, allocations: 10.66 kB / 1.078 GB, free: 296.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.236, allocations: 13.25 kB / 1.078 GB, free: 296.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.95e-05/1.236, allocations: 26.22 kB / 1.078 GB, free: 296.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.239, allocations: 0.5572 MB / 1.078 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/1.24, allocations: 4.154 MB / 1.082 GB, free: 292.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.242, allocations: 223.2 kB / 1.082 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.242, allocations: 86.17 kB / 1.083 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002272/1.245, allocations: 1.46 MB / 1.084 GB, free: 291.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001397/1.246, allocations: 1.425 MB / 1.085 GB, free: 290.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00253/1.249, allocations: 2.235 MB / 1.088 GB, free: 289.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-06/1.249, allocations: 3.969 kB / 1.088 GB, free: 289.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004223/1.253, allocations: 2.469 MB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.253, allocations: 7.938 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.253, allocations: 17.77 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.253, allocations: 31.2 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.254, allocations: 471.9 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/1.254, allocations: 31.52 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.257, allocations: 193.4 kB / 1.091 GB, free: 288.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.257, allocations: 86.42 kB / 1.091 GB, free: 288.2 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.0004878/1.257, allocations: 318 kB / 1.091 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/1.258, allocations: 271.3 kB / 1.091 GB, free: 287.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/1.26, allocations: 2.094 MB / 1.093 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.26, allocations: 15.78 kB / 1.093 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.26, allocations: 3.688 kB / 1.093 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001968/1.262, allocations: 1.885 MB / 1.095 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006396/1.269, allocations: 5.156 MB / 1.1 GB, free: 282.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.269, allocations: 3.875 kB / 1.1 GB, free: 282.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/1.271, allocations: 0.5124 MB / 1.101 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.271, allocations: 7.625 kB / 1.101 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/1.271, allocations: 54.89 kB / 1.101 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/1.272, allocations: 4.127 MB / 1.105 GB, free: 278.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.272, allocations: 8.75 kB / 1.105 GB, free: 278.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/1.275, allocations: 3.358 MB / 1.108 GB, free: 276.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.276, allocations: 0.5654 MB / 1.109 GB, free: 276.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.277, allocations: 42.52 kB / 1.109 GB, free: 276.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.278, allocations: 84.78 kB / 1.109 GB, free: 276.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.278, allocations: 112.4 kB / 1.109 GB, free: 276.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.278, allocations: 73.8 kB / 1.109 GB, free: 276.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001321/1.28, allocations: 1.336 MB / 1.11 GB, free: 275.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.28, allocations: 0 / 1.11 GB, free: 275.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002921/1.283, allocations: 1.715 MB / 1.112 GB, free: 274 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.0005954/1.283, allocations: 349.1 kB / 1.112 GB, free: 273.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004515/1.288, allocations: 3.31 MB / 1.116 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.288, allocations: 0 / 1.116 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.289, allocations: 1.032 MB / 1.117 GB, free: 269.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/1.295, allocations: 1.535 MB / 1.118 GB, free: 268 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/1.302, allocations: 6.686 MB / 1.125 GB, free: 261.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.303, allocations: 2.185 MB / 1.127 GB, free: 259.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007015/1.304, allocations: 231.4 kB / 1.127 GB, free: 258.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.445e-06/1.304, allocations: 0 / 1.127 GB, free: 258.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.09273/1.396, allocations: 141.6 MB / 1.265 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)