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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006914/0.006914, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001305/0.001306, allocations: 186.9 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.837/0.837, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.23 kB / 0.5813 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2157, allocations: 80.22 MB / 0.6597 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.7466/0.9623, allocations: 239.9 MB / 0.8939 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.9749, allocations: 7.203 MB / 0.9009 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.9775, allocations: 48.19 kB / 0.901 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.9796, allocations: 0.7191 MB / 0.9017 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006487/0.9862, allocations: 2.158 MB / 0.9038 GB, free: 36 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006363/0.9926, allocations: 2.065 MB / 0.9058 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006572/0.9992, allocations: 3.28 MB / 0.909 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/1.001, allocations: 1.131 MB / 0.9101 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/1.007, allocations: 1.854 MB / 0.9119 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/1.009, allocations: 0.9778 MB / 0.9129 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002614/1.009, allocations: 119.8 kB / 0.913 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005992/1.015, allocations: 2.499 MB / 0.9154 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007448/1.016, allocations: 459 kB / 0.9159 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/1.018, allocations: 0.7132 MB / 0.9166 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00693/1.025, allocations: 2.707 MB / 0.9192 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.025, allocations: 0 / 0.9192 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.344e-06/1.025, allocations: 0 / 0.9192 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.467e-05/1.025, allocations: 3.938 kB / 0.9192 GB, free: 10.11 MB / 0.6544 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.003228/1.028, allocations: 1.699 MB / 0.9209 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.028, allocations: 15.72 kB / 0.9209 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/1.031, allocations: 424.8 kB / 0.9213 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.033, allocations: 1.018 MB / 0.9223 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/1.033, allocations: 64.59 kB / 0.9224 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/1.033, allocations: 83.56 kB / 0.9224 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/1.034, allocations: 0.8611 MB / 0.9233 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.034, allocations: 2.156 kB / 0.9233 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/1.034, allocations: 31.97 kB / 0.9233 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/1.035, allocations: 29.78 kB / 0.9233 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/1.036, allocations: 0.8075 MB / 0.9241 GB, free: 6.93 MB / 0.6544 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.004913/1.041, allocations: 3.639 MB / 0.9277 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/1.043, allocations: 1.092 MB / 0.9288 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/1.043, allocations: 363.2 kB / 0.9291 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007508/1.044, allocations: 407.2 kB / 0.9295 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/1.044, allocations: 43.12 kB / 0.9295 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 3.276e-06/1.044, allocations: 0 / 0.9295 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002422/1.046, allocations: 0.9608 MB / 0.9305 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/1.046, allocations: 59.97 kB / 0.9305 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.048, allocations: 0.84 MB / 0.9313 GB, free: 15.89 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/1.048, allocations: 41.7 kB / 0.9314 GB, free: 15.84 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/1.048, allocations: 483.2 kB / 0.9318 GB, free: 15.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/1.048, allocations: 211.2 kB / 0.932 GB, free: 15.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/1.049, allocations: 110.2 kB / 0.9322 GB, free: 15.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.049, allocations: 330 kB / 0.9325 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/1.049, allocations: 261.8 kB / 0.9327 GB, free: 14.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/1.05, allocations: 370.9 kB / 0.9331 GB, free: 14.06 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.051, allocations: 0.5863 MB / 0.9336 GB, free: 13.46 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.051, allocations: 4 kB / 0.9336 GB, free: 13.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001446/1.052, allocations: 0.7254 MB / 0.9344 GB, free: 12.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.053, allocations: 11.98 kB / 0.9344 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.053, allocations: 0 / 0.9344 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.053, allocations: 7.938 kB / 0.9344 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/1.053, allocations: 127.8 kB / 0.9345 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.053, allocations: 4 kB / 0.9345 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/1.054, allocations: 71.48 kB / 0.9346 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/1.054, allocations: 20 kB / 0.9346 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009286/1.055, allocations: 499.6 kB / 0.9351 GB, free: 12.02 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005794/1.056, allocations: 376.2 kB / 0.9354 GB, free: 11.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/1.057, allocations: 0.5747 MB / 0.936 GB, free: 11.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/1.057, allocations: 3.938 kB / 0.936 GB, free: 11.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001321/1.058, allocations: 0.7254 MB / 0.9367 GB, free: 10.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.058, allocations: 6.531 kB / 0.9367 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.058, allocations: 4 kB / 0.9367 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/1.058, allocations: 4 kB / 0.9367 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/1.059, allocations: 121.1 kB / 0.9368 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.059, allocations: 10.38 kB / 0.9368 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/1.06, allocations: 63.64 kB / 0.9369 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/1.06, allocations: 24 kB / 0.9369 GB, free: 10.07 MB / 0.67 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003047/1.06, allocations: 213.4 kB / 0.9371 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/1.06, allocations: 98.78 kB / 0.9372 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.062, allocations: 0.7411 MB / 0.9379 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.062, allocations: 7.938 kB / 0.9379 GB, free: 9.012 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.062, allocations: 8 kB / 0.938 GB, free: 9.004 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/1.063, allocations: 0.902 MB / 0.9388 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/1.067, allocations: 2.24 MB / 0.941 GB, free: 5.676 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.067, allocations: 4 kB / 0.941 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/1.068, allocations: 137.4 kB / 0.9412 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.068, allocations: 8 kB / 0.9412 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/1.068, allocations: 16 kB / 0.9412 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/1.068, allocations: 15.92 kB / 0.9412 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.068, allocations: 11.08 kB / 0.9412 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/1.07, allocations: 1.253 MB / 0.9424 GB, free: 4.199 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/1.07, allocations: 259.7 kB / 0.9427 GB, free: 3.926 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/1.071, allocations: 16 kB / 0.9427 GB, free: 3.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/1.071, allocations: 49.2 kB / 0.9427 GB, free: 3.863 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.071, allocations: 51.5 kB / 0.9428 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/1.072, allocations: 24 kB / 0.9428 GB, free: 3.793 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00098/1.073, allocations: 0.5823 MB / 0.9434 GB, free: 3.199 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.073, allocations: 0 / 0.9434 GB, free: 3.199 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001562/1.074, allocations: 0.5377 MB / 0.9439 GB, free: 2.66 MB / 0.67 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005692/1.075, allocations: 243.4 kB / 0.9441 GB, free: 2.441 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001962/1.077, allocations: 0.9519 MB / 0.9451 GB, free: 1.516 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.077, allocations: 0 / 0.9451 GB, free: 1.516 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/1.077, allocations: 341.3 kB / 0.9454 GB, free: 1.199 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.08, allocations: 0.6025 MB / 0.946 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/1.084, allocations: 2.108 MB / 0.948 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/1.085, allocations: 1.128 MB / 0.9491 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001219/1.087, allocations: 300.1 kB / 0.9494 GB, free: 13 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/1.087, allocations: 83.42 kB / 0.9495 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of SimCode: time 9.71e-07/1.087, allocations: 0 / 0.9495 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of Templates: time 0.03668/1.124, allocations: 20.53 MB / 0.9696 GB, free: 8.797 MB / 0.7012 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)