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.001294/0.001294, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.00123/0.00123, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8514/0.8514, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4745, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.7316/1.206, allocations: 239.9 MB / 0.8157 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01008/1.216, allocations: 7.203 MB / 0.8228 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/1.218, allocations: 54.88 kB / 0.8228 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/1.22, allocations: 0.7033 MB / 0.8235 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00515/1.225, allocations: 2.065 MB / 0.8255 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/1.23, allocations: 2.034 MB / 0.8275 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004462/1.234, allocations: 3.27 MB / 0.8307 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/1.236, allocations: 1.131 MB / 0.8318 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/1.24, allocations: 1.791 MB / 0.8336 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/1.242, allocations: 0.97 MB / 0.8345 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002625/1.242, allocations: 118.8 kB / 0.8346 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005449/1.248, allocations: 2.491 MB / 0.837 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007074/1.249, allocations: 456.1 kB / 0.8375 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/1.25, allocations: 0.7222 MB / 0.8382 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00589/1.256, allocations: 2.689 MB / 0.8408 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.256, allocations: 0 / 0.8408 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.774e-06/1.256, allocations: 4 kB / 0.8408 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.256, allocations: 0 / 0.8408 GB, free: 2.34 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.002719/1.259, allocations: 1.719 MB / 0.8425 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.259, allocations: 9.188 kB / 0.8425 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/1.261, allocations: 423.9 kB / 0.8429 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/1.263, allocations: 1.017 MB / 0.8439 GB, free: 136 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/1.263, allocations: 60.16 kB / 0.844 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.263, allocations: 82.28 kB / 0.844 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/1.265, allocations: 0.8632 MB / 0.8449 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/1.265, allocations: 3.938 kB / 0.8449 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/1.265, allocations: 39.59 kB / 0.8449 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/1.265, allocations: 27.5 kB / 0.8449 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/1.266, allocations: 0.8067 MB / 0.8457 GB, free: 15.16 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.004968/1.271, allocations: 3.632 MB / 0.8493 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/1.273, allocations: 1.1 MB / 0.8504 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/1.273, allocations: 370.4 kB / 0.8507 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/1.274, allocations: 403.4 kB / 0.8511 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.274, allocations: 47.12 kB / 0.8511 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.024e-06/1.274, allocations: 2.625 kB / 0.8511 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002182/1.276, allocations: 0.9584 MB / 0.8521 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/1.276, allocations: 59.91 kB / 0.8521 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.277, allocations: 0.84 MB / 0.853 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/1.277, allocations: 40.23 kB / 0.853 GB, free: 8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/1.278, allocations: 488.1 kB / 0.8535 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/1.278, allocations: 210.4 kB / 0.8537 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/1.278, allocations: 110.2 kB / 0.8538 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.278, allocations: 334 kB / 0.8541 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/1.279, allocations: 251 kB / 0.8543 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/1.279, allocations: 372.3 kB / 0.8547 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/1.281, allocations: 0.5864 MB / 0.8552 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.281, allocations: 0 / 0.8552 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001414/1.282, allocations: 0.7356 MB / 0.856 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.282, allocations: 4 kB / 0.856 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.282, allocations: 8.125 kB / 0.856 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.282, allocations: 0 / 0.856 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/1.283, allocations: 127.5 kB / 0.8561 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.283, allocations: 7.938 kB / 0.8561 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007926/1.283, allocations: 74.44 kB / 0.8562 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/1.283, allocations: 20 kB / 0.8562 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008314/1.284, allocations: 0.4932 MB / 0.8567 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005419/1.285, allocations: 370.9 kB / 0.857 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009711/1.286, allocations: 0.576 MB / 0.8576 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/1.286, allocations: 0 / 0.8576 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001289/1.287, allocations: 0.7239 MB / 0.8583 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.287, allocations: 4 kB / 0.8583 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/1.287, allocations: 0 / 0.8583 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/1.287, allocations: 4 kB / 0.8583 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/1.288, allocations: 127.8 kB / 0.8584 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.288, allocations: 8 kB / 0.8584 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/1.289, allocations: 67.52 kB / 0.8585 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/1.289, allocations: 23.98 kB / 0.8585 GB, free: 2.23 MB / 0.5919 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.0002167/1.289, allocations: 212 kB / 0.8587 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.289, allocations: 102.8 kB / 0.8588 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/1.29, allocations: 0.7455 MB / 0.8596 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.29, allocations: 4 kB / 0.8596 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.291, allocations: 3.938 kB / 0.8596 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/1.292, allocations: 0.902 MB / 0.8604 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/1.295, allocations: 2.241 MB / 0.8626 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.295, allocations: 4.406 kB / 0.8626 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/1.296, allocations: 143.6 kB / 0.8628 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.296, allocations: 4 kB / 0.8628 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/1.296, allocations: 23.92 kB / 0.8628 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/1.296, allocations: 8 kB / 0.8628 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.296, allocations: 6.469 kB / 0.8628 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/1.298, allocations: 1.255 MB / 0.864 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/1.299, allocations: 259.7 kB / 0.8643 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.299, allocations: 16 kB / 0.8643 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/1.3, allocations: 45.08 kB / 0.8643 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.3, allocations: 50.75 kB / 0.8644 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/1.3, allocations: 20 kB / 0.8644 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009331/1.301, allocations: 0.5939 MB / 0.865 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/1.301, allocations: 0 / 0.865 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00167/1.302, allocations: 0.5299 MB / 0.8655 GB, free: 10.82 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.0006929/1.303, allocations: 244.5 kB / 0.8657 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001879/1.305, allocations: 0.9459 MB / 0.8667 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.305, allocations: 0.5 kB / 0.8667 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006247/1.306, allocations: 340.4 kB / 0.867 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.308, allocations: 0.6 MB / 0.8676 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/1.312, allocations: 2.117 MB / 0.8696 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.313, allocations: 1.135 MB / 0.8708 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001034/1.314, allocations: 292.1 kB / 0.871 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.314, allocations: 83.42 kB / 0.8711 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of SimCode: time 1.322e-06/1.314, allocations: 2.531 kB / 0.8711 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.03761/1.352, allocations: 20.4 MB / 0.891 GB, free: 1.074 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)