Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8152/0.8152, allocations: 130.6 MB / 143.8 MB, free: 13.6 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.3 MB / 396.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 98.38 kB / 479 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.235e-05, allocations: 5.375 kB / 0.5551 GB, free: 86.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.155, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.451/4.606, allocations: 1.89 GB / 2.525 GB, free: 66.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/4.607, allocations: 87.95 kB / 2.525 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.795/8.402, allocations: 0.9289 GB / 3.454 GB, free: 96.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/8.402, allocations: 0 / 3.454 GB, free: 96.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001536/8.402, allocations: 36.84 kB / 3.454 GB, free: 96.93 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.004714/8.407, allocations: 1.532 MB / 3.456 GB, free: 96.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/8.407, allocations: 7.812 kB / 3.456 GB, free: 96.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/8.41, allocations: 422.5 kB / 3.456 GB, free: 96.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/8.413, allocations: 1.072 MB / 3.457 GB, free: 95.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/8.413, allocations: 66.75 kB / 3.457 GB, free: 95.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/8.413, allocations: 83.81 kB / 3.457 GB, free: 95.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/8.415, allocations: 0.8003 MB / 3.458 GB, free: 95.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/8.415, allocations: 0 / 3.458 GB, free: 95.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/8.415, allocations: 38.73 kB / 3.458 GB, free: 95.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/8.415, allocations: 31.69 kB / 3.458 GB, free: 95.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/8.416, allocations: 0.7108 MB / 3.459 GB, free: 95.86 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.0049/8.421, allocations: 3.657 MB / 3.462 GB, free: 94.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/8.422, allocations: 1.07 MB / 3.464 GB, free: 93.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/8.423, allocations: 346.9 kB / 3.464 GB, free: 93.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/8.423, allocations: 397.8 kB / 3.464 GB, free: 93.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/8.424, allocations: 43.22 kB / 3.464 GB, free: 93.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.266e-06/8.424, allocations: 0 / 3.464 GB, free: 93.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001417/8.425, allocations: 0.6764 MB / 3.465 GB, free: 93.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/8.425, allocations: 55.72 kB / 3.465 GB, free: 93.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/8.426, allocations: 0.7161 MB / 3.466 GB, free: 92.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/8.426, allocations: 35.83 kB / 3.466 GB, free: 92.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/8.426, allocations: 481.8 kB / 3.466 GB, free: 92.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/8.426, allocations: 217.6 kB / 3.466 GB, free: 92.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/8.426, allocations: 10.66 kB / 3.466 GB, free: 92.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/8.427, allocations: 332.7 kB / 3.467 GB, free: 92.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/8.427, allocations: 223 kB / 3.467 GB, free: 92.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/8.427, allocations: 372.2 kB / 3.467 GB, free: 92.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/8.428, allocations: 288.5 kB / 3.468 GB, free: 92.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/8.428, allocations: 0 / 3.468 GB, free: 92.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009705/8.429, allocations: 0.6873 MB / 3.468 GB, free: 92.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/8.429, allocations: 458 kB / 3.469 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/8.429, allocations: 0 / 3.469 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/8.429, allocations: 2.906 kB / 3.469 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/8.43, allocations: 136.6 kB / 3.469 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/8.43, allocations: 5.844 kB / 3.469 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/8.431, allocations: 132.7 kB / 3.469 GB, free: 91.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/8.431, allocations: 24.86 kB / 3.469 GB, free: 91.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/8.431, allocations: 3.281 kB / 3.469 GB, free: 91.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008118/8.432, allocations: 0.5675 MB / 3.469 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/8.432, allocations: 0 / 3.469 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/8.432, allocations: 3.688 kB / 3.469 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/8.432, allocations: 139.8 kB / 3.47 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/8.432, allocations: 7.922 kB / 3.47 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009373/8.433, allocations: 130.8 kB / 3.47 GB, free: 91.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/8.433, allocations: 26.36 kB / 3.47 GB, free: 91.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/8.433, allocations: 137.1 kB / 3.47 GB, free: 91.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/8.433, allocations: 101.1 kB / 3.47 GB, free: 91.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/8.435, allocations: 0.7239 MB / 3.471 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/8.435, allocations: 7.031 kB / 3.471 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/8.435, allocations: 3.75 kB / 3.471 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008386/8.436, allocations: 0.8904 MB / 3.472 GB, free: 90.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/8.439, allocations: 2.18 MB / 3.474 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/8.439, allocations: 3.625 kB / 3.474 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/8.44, allocations: 154.2 kB / 3.474 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/8.44, allocations: 5.844 kB / 3.474 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/8.44, allocations: 25.12 kB / 3.474 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/8.44, allocations: 6.531 kB / 3.474 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/8.44, allocations: 5.25 kB / 3.474 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/8.441, allocations: 1.327 MB / 3.475 GB, free: 89.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/8.442, allocations: 259.2 kB / 3.475 GB, free: 89.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/8.442, allocations: 18.81 kB / 3.475 GB, free: 89.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009018/8.443, allocations: 136.3 kB / 3.476 GB, free: 89.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/8.443, allocations: 48.05 kB / 3.476 GB, free: 89.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/8.443, allocations: 25.03 kB / 3.476 GB, free: 89.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007132/8.444, allocations: 0.5607 MB / 3.476 GB, free: 89.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/8.444, allocations: 2.281 kB / 3.476 GB, free: 89.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002403/8.446, allocations: 0.7695 MB / 3.477 GB, free: 89.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003441/8.449, allocations: 2.316 MB / 3.479 GB, free: 88.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001529/8.451, allocations: 0.9094 MB / 3.48 GB, free: 88.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/8.451, allocations: 7.594 kB / 3.48 GB, free: 88.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/8.451, allocations: 311.9 kB / 3.48 GB, free: 88.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/8.455, allocations: 0.6763 MB / 3.481 GB, free: 88.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/8.458, allocations: 1.739 MB / 3.483 GB, free: 88.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/8.458, allocations: 1.151 MB / 3.484 GB, free: 87.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001568/8.46, allocations: 387.7 kB / 3.484 GB, free: 87.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/8.46, allocations: 68.92 kB / 3.484 GB, free: 87.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.655e-06/8.46, allocations: 0 / 3.484 GB, free: 87.34 MB / 0.698 GB Notification: Performance of Templates: time 0.07509/8.535, allocations: 53.92 MB / 3.537 GB, free: 84.78 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)