Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001574/0.001575, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.1 MB / 425.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.72 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.211, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5368/0.7479, allocations: 236.9 MB / 0.8153 GB, free: 232 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.76, allocations: 7.155 MB / 0.8223 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.7619, allocations: 47.69 kB / 0.8223 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.7643, allocations: 0.6024 MB / 0.8229 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.7698, allocations: 1.953 MB / 0.8248 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005163/0.775, allocations: 1.881 MB / 0.8266 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.7798, allocations: 3.274 MB / 0.8298 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.7817, allocations: 1.102 MB / 0.8309 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.7864, allocations: 1.786 MB / 0.8327 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.7902, allocations: 1.023 MB / 0.8337 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009447/0.7912, allocations: 120 kB / 0.8338 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007787/0.799, allocations: 2.591 MB / 0.8363 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000868/0.7999, allocations: 466.7 kB / 0.8368 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.8018, allocations: 0.7233 MB / 0.8375 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006049/0.8078, allocations: 2.836 MB / 0.8402 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8078, allocations: 0 / 0.8402 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8079, allocations: 0 / 0.8402 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.8079, allocations: 0 / 0.8402 GB, free: 6.629 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.002996/0.8109, allocations: 1.704 MB / 0.8419 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8109, allocations: 16.03 kB / 0.8419 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.8136, allocations: 414 kB / 0.8423 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.8152, allocations: 0.9715 MB / 0.8432 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.8153, allocations: 58 kB / 0.8433 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8154, allocations: 91.92 kB / 0.8434 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.817, allocations: 0.8701 MB / 0.8442 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.817, allocations: 3.984 kB / 0.8442 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.8171, allocations: 32 kB / 0.8443 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.8172, allocations: 26 kB / 0.8443 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.8186, allocations: 0.8042 MB / 0.8451 GB, free: 1.547 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.004713/0.8234, allocations: 3.627 MB / 0.8486 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.8249, allocations: 1.096 MB / 0.8497 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.8255, allocations: 363.2 kB / 0.85 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008224/0.8264, allocations: 412.9 kB / 0.8504 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.8264, allocations: 39.06 kB / 0.8505 GB, free: 11.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/0.8264, allocations: 0 / 0.8505 GB, free: 11.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002196/0.8286, allocations: 0.9584 MB / 0.8514 GB, free: 10.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.8287, allocations: 59.97 kB / 0.8515 GB, free: 10.51 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.8298, allocations: 0.8438 MB / 0.8523 GB, free: 9.641 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.8299, allocations: 37.7 kB / 0.8523 GB, free: 9.598 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/0.8303, allocations: 484.1 kB / 0.8528 GB, free: 9.117 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.8305, allocations: 212.9 kB / 0.853 GB, free: 8.906 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.8307, allocations: 114.1 kB / 0.8531 GB, free: 8.789 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8308, allocations: 326 kB / 0.8534 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.8314, allocations: 255 kB / 0.8537 GB, free: 8.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.8319, allocations: 375.9 kB / 0.854 GB, free: 7.809 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.833, allocations: 0.593 MB / 0.8546 GB, free: 7.203 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.833, allocations: 3.938 kB / 0.8546 GB, free: 7.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001363/0.8344, allocations: 0.732 MB / 0.8553 GB, free: 6.457 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8344, allocations: 8 kB / 0.8553 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8344, allocations: 0 / 0.8553 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.8344, allocations: 4 kB / 0.8553 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.835, allocations: 123.9 kB / 0.8554 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.8351, allocations: 12.06 kB / 0.8555 GB, free: 6.312 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009336/0.836, allocations: 114 kB / 0.8556 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.8361, allocations: 20 kB / 0.8556 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008101/0.8369, allocations: 0.4932 MB / 0.8561 GB, free: 5.688 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005764/0.8375, allocations: 360.3 kB / 0.8564 GB, free: 5.301 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.8385, allocations: 0.5813 MB / 0.857 GB, free: 4.703 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.8385, allocations: 0 / 0.857 GB, free: 4.703 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001237/0.8397, allocations: 0.728 MB / 0.8577 GB, free: 3.969 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8398, allocations: 4 kB / 0.8577 GB, free: 3.965 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.8398, allocations: 7.938 kB / 0.8577 GB, free: 3.957 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.219e-06/0.8398, allocations: 4 kB / 0.8577 GB, free: 3.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.8403, allocations: 123.8 kB / 0.8578 GB, free: 3.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.8404, allocations: 8.062 kB / 0.8578 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/0.8412, allocations: 111.5 kB / 0.8579 GB, free: 3.715 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.8413, allocations: 20 kB / 0.858 GB, free: 3.695 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.000211/0.8415, allocations: 220.1 kB / 0.8582 GB, free: 3.473 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.8417, allocations: 102.8 kB / 0.8583 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.8431, allocations: 0.7371 MB / 0.859 GB, free: 2.629 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.8431, allocations: 4 kB / 0.859 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8431, allocations: 0 / 0.859 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.8443, allocations: 0.9111 MB / 0.8599 GB, free: 1.625 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.374/1.218, allocations: 2.241 MB / 0.8621 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.218, allocations: 2.625 kB / 0.8621 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/1.219, allocations: 135.2 kB / 0.8622 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/1.219, allocations: 6.578 kB / 0.8622 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/1.219, allocations: 18.69 kB / 0.8622 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/1.219, allocations: 10.25 kB / 0.8622 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.219, allocations: 5.656 kB / 0.8622 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.221, allocations: 1.258 MB / 0.8635 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/1.222, allocations: 257 kB / 0.8637 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.222, allocations: 16.38 kB / 0.8637 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/1.223, allocations: 102.9 kB / 0.8638 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.223, allocations: 48.73 kB / 0.8639 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/1.223, allocations: 27.64 kB / 0.8639 GB, free: 222.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009156/1.224, allocations: 0.5849 MB / 0.8645 GB, free: 222.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.224, allocations: 0 / 0.8645 GB, free: 222.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001412/1.225, allocations: 0.5357 MB / 0.865 GB, free: 222.6 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.0005678/1.226, allocations: 234.8 kB / 0.8652 GB, free: 222.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.228, allocations: 1.012 MB / 0.8662 GB, free: 222.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.228, allocations: 0 / 0.8662 GB, free: 222.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005059/1.228, allocations: 336.7 kB / 0.8665 GB, free: 222.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/1.231, allocations: 0.6098 MB / 0.8671 GB, free: 222 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/1.235, allocations: 2.542 MB / 0.8696 GB, free: 220.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/1.235, allocations: 1.124 MB / 0.8707 GB, free: 219.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001123/1.236, allocations: 294.9 kB / 0.871 GB, free: 219.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/1.237, allocations: 82.03 kB / 0.8711 GB, free: 219.8 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/1.237, allocations: 4 kB / 0.8711 GB, free: 219.8 MB / 0.67 GB Notification: Performance of Templates: time 0.03521/1.272, allocations: 20.19 MB / 0.8908 GB, free: 218.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)