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.0007538/0.0007538, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.000819/0.000819, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7385/0.7385, allocations: 132.4 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3421, allocations: 81.58 MB / 0.5831 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2102/0.5523, allocations: 218.8 MB / 0.7968 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009801/0.5622, allocations: 6.804 MB / 0.8034 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5633, allocations: 47.69 kB / 0.8034 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.5646, allocations: 464.9 kB / 0.8039 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.5682, allocations: 1.527 MB / 0.8054 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.5716, allocations: 1.464 MB / 0.8068 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003855/0.5755, allocations: 3.756 MB / 0.8105 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.5767, allocations: 0.812 MB / 0.8113 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.5795, allocations: 1.431 MB / 0.8127 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.5808, allocations: 0.9143 MB / 0.8136 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.581, allocations: 48 kB / 0.8136 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.5837, allocations: 1.387 MB / 0.815 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.5841, allocations: 382.7 kB / 0.8153 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.5844, allocations: 289 kB / 0.8156 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.5863, allocations: 1.797 MB / 0.8174 GB, free: 188 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5863, allocations: 0 / 0.8174 GB, free: 188 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5863, allocations: 0 / 0.8174 GB, free: 188 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.95e-05/0.5863, allocations: 0 / 0.8174 GB, free: 188 kB / 0.6387 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.2338/0.8201, allocations: 1.474 MB / 0.8188 GB, free: 222.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.8202, allocations: 11.47 kB / 0.8188 GB, free: 222.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.823, allocations: 429 kB / 0.8192 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.8251, allocations: 0.9314 MB / 0.8201 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.8252, allocations: 64.05 kB / 0.8202 GB, free: 222.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.8254, allocations: 82.8 kB / 0.8203 GB, free: 222.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.8271, allocations: 0.8698 MB / 0.8211 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.8271, allocations: 0 / 0.8211 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.8272, allocations: 32.19 kB / 0.8211 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.8273, allocations: 34.25 kB / 0.8212 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.8289, allocations: 0.823 MB / 0.822 GB, free: 221.6 MB / 0.6387 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.004603/0.8335, allocations: 3.636 MB / 0.8255 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.8348, allocations: 1.094 MB / 0.8266 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.8354, allocations: 380.3 kB / 0.827 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.836, allocations: 416.7 kB / 0.8274 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.8361, allocations: 42.73 kB / 0.8274 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.074e-06/0.8361, allocations: 1.094 kB / 0.8274 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002073/0.8381, allocations: 0.9878 MB / 0.8284 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.8382, allocations: 59.72 kB / 0.8284 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.8393, allocations: 0.8345 MB / 0.8292 GB, free: 217 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.8393, allocations: 42.11 kB / 0.8293 GB, free: 217 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.8396, allocations: 476.7 kB / 0.8297 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.8398, allocations: 216.5 kB / 0.8299 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.8398, allocations: 14.84 kB / 0.83 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.8399, allocations: 326.8 kB / 0.8303 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.8404, allocations: 253.6 kB / 0.8305 GB, free: 216 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.8409, allocations: 374.4 kB / 0.8309 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.8414, allocations: 305.6 kB / 0.8312 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8414, allocations: 0 / 0.8312 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001198/0.8426, allocations: 0.7428 MB / 0.8319 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.8427, allocations: 129.1 kB / 0.832 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8427, allocations: 4.844 kB / 0.832 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.8427, allocations: 3.5 kB / 0.832 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.8433, allocations: 132.4 kB / 0.8321 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.8433, allocations: 7.953 kB / 0.8321 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/0.8442, allocations: 117.7 kB / 0.8323 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.8443, allocations: 25.25 kB / 0.8323 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.8443, allocations: 2.875 kB / 0.8323 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/0.8453, allocations: 0.6264 MB / 0.8329 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8453, allocations: 1.531 kB / 0.8329 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.8453, allocations: 4.062 kB / 0.8329 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.8459, allocations: 128.5 kB / 0.833 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.8459, allocations: 4.438 kB / 0.833 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.8467, allocations: 131 kB / 0.8332 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.8468, allocations: 21.22 kB / 0.8332 GB, free: 215 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003763/0.8471, allocations: 379.5 kB / 0.8335 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.8473, allocations: 101.3 kB / 0.8336 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.8486, allocations: 0.7665 MB / 0.8344 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8486, allocations: 6.531 kB / 0.8344 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8487, allocations: 0 / 0.8344 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/0.8497, allocations: 0.9241 MB / 0.8353 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.8526, allocations: 2.265 MB / 0.8375 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.8526, allocations: 3.312 kB / 0.8375 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.8533, allocations: 146.3 kB / 0.8376 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.8533, allocations: 5.344 kB / 0.8377 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.8533, allocations: 21.19 kB / 0.8377 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.8533, allocations: 5.062 kB / 0.8377 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8534, allocations: 4.844 kB / 0.8377 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.855, allocations: 1.284 MB / 0.8389 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.8554, allocations: 265.4 kB / 0.8392 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.8556, allocations: 14.75 kB / 0.8392 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007765/0.8563, allocations: 106.2 kB / 0.8393 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.8564, allocations: 49.52 kB / 0.8394 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.8565, allocations: 21.22 kB / 0.8394 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006729/0.8572, allocations: 0.577 MB / 0.8399 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.8572, allocations: 0 / 0.8399 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001258/0.8584, allocations: 0.5381 MB / 0.8405 GB, free: 210.3 MB / 0.6387 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 (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.0004275/0.8589, allocations: 245.1 kB / 0.8407 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.8605, allocations: 0.9565 MB / 0.8416 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8605, allocations: 1.312 kB / 0.8416 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.8611, allocations: 350 kB / 0.842 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.8637, allocations: 0.6173 MB / 0.8426 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.8667, allocations: 2.626 MB / 0.8451 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.8673, allocations: 1.123 MB / 0.8462 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001116/0.8684, allocations: 295.7 kB / 0.8465 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.8686, allocations: 82.55 kB / 0.8466 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.8686, allocations: 0 / 0.8466 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.02597/0.8946, allocations: 19.1 MB / 0.8652 GB, free: 189.5 MB / 0.6387 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)