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.001424/0.001424, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001205/0.001205, 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7864/0.7864, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 58.62 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 80.23 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5682/0.7032, allocations: 239.9 MB / 0.8946 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.7145, allocations: 7.194 MB / 0.9016 GB, free: 14.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.7163, allocations: 51.69 kB / 0.9016 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.7184, allocations: 0.6987 MB / 0.9023 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005473/0.7239, allocations: 2.068 MB / 0.9043 GB, free: 11.83 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.7288, allocations: 2.036 MB / 0.9063 GB, free: 9.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004376/0.7332, allocations: 3.262 MB / 0.9095 GB, free: 6.527 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.7351, allocations: 1.136 MB / 0.9106 GB, free: 5.375 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.7395, allocations: 1.825 MB / 0.9124 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.7416, allocations: 0.9705 MB / 0.9134 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.742, allocations: 120 kB / 0.9135 GB, free: 2.457 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.7469, allocations: 2.487 MB / 0.9159 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006704/0.7476, allocations: 458.6 kB / 0.9163 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.7489, allocations: 0.7233 MB / 0.917 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.7539, allocations: 2.7 MB / 0.9197 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.754, allocations: 0 / 0.9197 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.165e-06/0.754, allocations: 0 / 0.9197 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.85e-05/0.754, allocations: 0 / 0.9197 GB, free: 12.08 MB / 0.6856 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.003411/0.7575, allocations: 1.705 MB / 0.9213 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.7575, allocations: 8.031 kB / 0.9213 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.7603, allocations: 425.9 kB / 0.9218 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.7623, allocations: 1.022 MB / 0.9228 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.7623, allocations: 62 kB / 0.9228 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.7625, allocations: 91.84 kB / 0.9229 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.7643, allocations: 0.8624 MB / 0.9237 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.7643, allocations: 4 kB / 0.9237 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.446e-05/0.7644, allocations: 32 kB / 0.9238 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.7645, allocations: 30 kB / 0.9238 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.766, allocations: 0.7995 MB / 0.9246 GB, free: 6.949 MB / 0.6856 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.005061/0.7711, allocations: 3.65 MB / 0.9281 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.7726, allocations: 1.091 MB / 0.9292 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.7733, allocations: 376.5 kB / 0.9296 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007131/0.774, allocations: 412.9 kB / 0.93 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.774, allocations: 39.11 kB / 0.93 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.454e-06/0.7741, allocations: 0 / 0.93 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002257/0.7763, allocations: 0.9507 MB / 0.9309 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.7764, allocations: 63.95 kB / 0.931 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.7776, allocations: 0.8322 MB / 0.9318 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.7777, allocations: 41.7 kB / 0.9318 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.7781, allocations: 488.1 kB / 0.9323 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.7783, allocations: 212.8 kB / 0.9325 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.7785, allocations: 114.2 kB / 0.9326 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7786, allocations: 322 kB / 0.9329 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.7791, allocations: 258.9 kB / 0.9332 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.7797, allocations: 372.3 kB / 0.9335 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.7809, allocations: 0.593 MB / 0.9341 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.7809, allocations: 4 kB / 0.9341 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001459/0.7823, allocations: 0.7281 MB / 0.9348 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7824, allocations: 8 kB / 0.9348 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7824, allocations: 0 / 0.9348 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7824, allocations: 4 kB / 0.9348 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.783, allocations: 127.8 kB / 0.935 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.783, allocations: 7.984 kB / 0.935 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/0.7839, allocations: 67.62 kB / 0.935 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.7839, allocations: 23.98 kB / 0.9351 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008578/0.7848, allocations: 497 kB / 0.9355 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005815/0.7854, allocations: 372.2 kB / 0.9359 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/0.7864, allocations: 0.5773 MB / 0.9364 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.7865, allocations: 0 / 0.9364 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001379/0.7878, allocations: 0.7242 MB / 0.9372 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.7879, allocations: 8.125 kB / 0.9372 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7879, allocations: 4 kB / 0.9372 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.7879, allocations: 4 kB / 0.9372 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.7885, allocations: 127.8 kB / 0.9373 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.7885, allocations: 7.938 kB / 0.9373 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.7893, allocations: 63.55 kB / 0.9374 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.7894, allocations: 24 kB / 0.9374 GB, free: 9.156 MB / 0.7012 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.0002017/0.7896, allocations: 216.1 kB / 0.9376 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.7898, allocations: 98.78 kB / 0.9377 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.7914, allocations: 0.739 MB / 0.9384 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7914, allocations: 4 kB / 0.9384 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7914, allocations: 8 kB / 0.9384 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.7926, allocations: 0.9033 MB / 0.9393 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.7963, allocations: 2.243 MB / 0.9415 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.7963, allocations: 4 kB / 0.9415 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/0.797, allocations: 139.8 kB / 0.9416 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.797, allocations: 4 kB / 0.9416 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.7971, allocations: 24 kB / 0.9417 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.7971, allocations: 4.406 kB / 0.9417 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7971, allocations: 7.938 kB / 0.9417 GB, free: 4.531 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.7991, allocations: 1.261 MB / 0.9429 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.7996, allocations: 259.7 kB / 0.9431 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7998, allocations: 23.98 kB / 0.9432 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/0.8005, allocations: 39.95 kB / 0.9432 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.8007, allocations: 52.2 kB / 0.9433 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.8007, allocations: 27.98 kB / 0.9433 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008752/0.8016, allocations: 0.5862 MB / 0.9439 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8016, allocations: 0 / 0.9439 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001416/0.803, allocations: 0.5338 MB / 0.9444 GB, free: 1.668 MB / 0.7012 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.0005559/0.8036, allocations: 239 kB / 0.9446 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.8055, allocations: 0.9469 MB / 0.9455 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8055, allocations: 0 / 0.9455 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.8061, allocations: 343.2 kB / 0.9459 GB, free: 164 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.8088, allocations: 0.598 MB / 0.9464 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.8125, allocations: 2.165 MB / 0.9486 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/0.8134, allocations: 1.12 MB / 0.9496 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.8137, allocations: 87.42 kB / 0.9497 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.8137, allocations: 0 / 0.9497 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of Templates: time 0.02543/0.8391, allocations: 17.21 MB / 0.9665 GB, free: 11.08 MB / 0.7325 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)