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.001541/0.001541, allocations: 104.1 kB / 16.27 MB, free: 6.414 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.001463/0.001463, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8053/0.8053, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.89 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3213, allocations: 80.92 MB / 0.5851 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5425/0.8638, allocations: 239.8 MB / 0.8193 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009287/0.8732, allocations: 7.21 MB / 0.8263 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.8748, allocations: 49.56 kB / 0.8264 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.8765, allocations: 0.7057 MB / 0.8271 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.8809, allocations: 2.069 MB / 0.8291 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.8849, allocations: 2.02 MB / 0.8311 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003627/0.8885, allocations: 3.261 MB / 0.8342 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.8898, allocations: 1.146 MB / 0.8354 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.8928, allocations: 1.78 MB / 0.8371 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.8943, allocations: 0.9673 MB / 0.838 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.8944, allocations: 119 kB / 0.8382 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.8985, allocations: 2.486 MB / 0.8406 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.8989, allocations: 457.6 kB / 0.841 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.8995, allocations: 0.7222 MB / 0.8417 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.9027, allocations: 2.664 MB / 0.8443 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9027, allocations: 0 / 0.8443 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9028, allocations: 0 / 0.8443 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.9028, allocations: 7.031 kB / 0.8443 GB, free: 1.062 MB / 0.5762 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.002382/0.9052, allocations: 1.706 MB / 0.846 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.9052, allocations: 10.77 kB / 0.846 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.9077, allocations: 420.3 kB / 0.8464 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.9092, allocations: 0.9623 MB / 0.8473 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.9093, allocations: 64.69 kB / 0.8474 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.9094, allocations: 89.62 kB / 0.8475 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.9109, allocations: 0.8662 MB / 0.8483 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.911, allocations: 0 / 0.8483 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.911, allocations: 29.44 kB / 0.8484 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.9111, allocations: 28.47 kB / 0.8484 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.9126, allocations: 0.8048 MB / 0.8492 GB, free: 13.66 MB / 0.5919 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.004992/0.9176, allocations: 3.662 MB / 0.8528 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.9191, allocations: 1.099 MB / 0.8538 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.9197, allocations: 374.5 kB / 0.8542 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.9205, allocations: 404.2 kB / 0.8546 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.9205, allocations: 45.66 kB / 0.8546 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.034e-06/0.9205, allocations: 0 / 0.8546 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002117/0.9226, allocations: 0.9622 MB / 0.8556 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.9227, allocations: 62.44 kB / 0.8556 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.9238, allocations: 0.84 MB / 0.8564 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.9239, allocations: 37.7 kB / 0.8565 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.9243, allocations: 484.1 kB / 0.8569 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.9245, allocations: 210.4 kB / 0.8571 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.9247, allocations: 114.2 kB / 0.8572 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9248, allocations: 330 kB / 0.8576 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.9253, allocations: 255 kB / 0.8578 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.926, allocations: 370.9 kB / 0.8582 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9271, allocations: 0.5877 MB / 0.8587 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9271, allocations: 0 / 0.8587 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001371/0.9285, allocations: 0.7357 MB / 0.8594 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9285, allocations: 6.938 kB / 0.8595 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.9285, allocations: 11.94 kB / 0.8595 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9285, allocations: 4 kB / 0.8595 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.9291, allocations: 127.6 kB / 0.8596 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9291, allocations: 4 kB / 0.8596 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.9298, allocations: 67.48 kB / 0.8597 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.9299, allocations: 24 kB / 0.8597 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008239/0.9307, allocations: 0.497 MB / 0.8602 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005972/0.9313, allocations: 358.8 kB / 0.8605 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001037/0.9324, allocations: 0.5824 MB / 0.8611 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.9324, allocations: 4 kB / 0.8611 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001306/0.9337, allocations: 0.7176 MB / 0.8618 GB, free: 216 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.9337, allocations: 4 kB / 0.8618 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.9337, allocations: 0 / 0.8618 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.9338, allocations: 7.938 kB / 0.8618 GB, free: 204 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.9343, allocations: 127.7 kB / 0.8619 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9343, allocations: 4 kB / 0.8619 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.935, allocations: 67.58 kB / 0.862 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.9351, allocations: 23.98 kB / 0.862 GB, free: 15.99 MB / 0.6075 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.0001964/0.9353, allocations: 212.7 kB / 0.8622 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.9355, allocations: 102.8 kB / 0.8623 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.9369, allocations: 0.7391 MB / 0.863 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.9369, allocations: 8 kB / 0.863 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.937, allocations: 3.984 kB / 0.863 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.9382, allocations: 0.9098 MB / 0.8639 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.9417, allocations: 2.239 MB / 0.8661 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.9417, allocations: 4 kB / 0.8661 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.9423, allocations: 139.5 kB / 0.8663 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.9424, allocations: 4 kB / 0.8663 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.9424, allocations: 23.92 kB / 0.8663 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/0.9424, allocations: 14.47 kB / 0.8663 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9424, allocations: 4 kB / 0.8663 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.9445, allocations: 1.262 MB / 0.8675 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.9449, allocations: 255.7 kB / 0.8678 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.945, allocations: 19.94 kB / 0.8678 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/0.9457, allocations: 43.89 kB / 0.8678 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.9458, allocations: 51 kB / 0.8679 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.9459, allocations: 20 kB / 0.8679 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008381/0.9467, allocations: 0.59 MB / 0.8685 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9467, allocations: 0 / 0.8685 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001279/0.948, allocations: 0.5299 MB / 0.869 GB, free: 8.574 MB / 0.6075 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.0005115/0.9485, allocations: 257.7 kB / 0.8692 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.9506, allocations: 1.006 MB / 0.8702 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9506, allocations: 0 / 0.8702 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005972/0.9512, allocations: 340.3 kB / 0.8705 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.9537, allocations: 0.6069 MB / 0.8711 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.9571, allocations: 2.204 MB / 0.8733 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/0.9579, allocations: 1.127 MB / 0.8744 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.9581, allocations: 87.42 kB / 0.8745 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.9582, allocations: 0 / 0.8745 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.02621/0.9844, allocations: 17.09 MB / 0.8912 GB, free: 2.059 MB / 0.6231 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)