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.001539/0.001539, allocations: 105.7 kB / 16.37 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.001758/0.001758, allocations: 190 kB / 17.31 MB, free: 5.812 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7423/0.7423, allocations: 135.1 MB / 426.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 60.05 kB / 0.5067 GB, free: 7.746 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3076, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.464/0.7716, allocations: 239.9 MB / 0.82 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008895/0.7806, allocations: 7.216 MB / 0.827 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7818, allocations: 50.59 kB / 0.8271 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.7832, allocations: 0.7017 MB / 0.8278 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.7872, allocations: 2.07 MB / 0.8298 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.791, allocations: 2.033 MB / 0.8318 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002867/0.7938, allocations: 3.265 MB / 0.835 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.7949, allocations: 1.143 MB / 0.8361 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.7975, allocations: 1.789 MB / 0.8378 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.7987, allocations: 0.9669 MB / 0.8388 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.7989, allocations: 123.2 kB / 0.8389 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.8024, allocations: 2.484 MB / 0.8413 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.8027, allocations: 464.3 kB / 0.8418 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.8032, allocations: 0.7194 MB / 0.8425 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.806, allocations: 2.687 MB / 0.8451 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.806, allocations: 0 / 0.8451 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.806, allocations: 0 / 0.8451 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.806, allocations: 0 / 0.8451 GB, free: 1.02 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.002313/0.8083, allocations: 1.711 MB / 0.8468 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.8084, allocations: 9.297 kB / 0.8468 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.8108, allocations: 424.8 kB / 0.8472 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.8124, allocations: 1.021 MB / 0.8482 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.8124, allocations: 64.91 kB / 0.8482 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.8126, allocations: 83.22 kB / 0.8483 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.8139, allocations: 0.8641 MB / 0.8492 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.814, allocations: 6.188 kB / 0.8492 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/0.814, allocations: 29.81 kB / 0.8492 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.8141, allocations: 29.22 kB / 0.8492 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.8154, allocations: 0.8101 MB / 0.85 GB, free: 13.61 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.004342/0.8198, allocations: 3.638 MB / 0.8536 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.8212, allocations: 1.085 MB / 0.8546 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.8217, allocations: 372.9 kB / 0.855 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/0.8224, allocations: 404.9 kB / 0.8554 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.8224, allocations: 39.12 kB / 0.8554 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.8224, allocations: 0 / 0.8554 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001888/0.8243, allocations: 0.9686 MB / 0.8563 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.8244, allocations: 55.97 kB / 0.8564 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009644/0.8253, allocations: 0.84 MB / 0.8572 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.8254, allocations: 41.7 kB / 0.8573 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.8257, allocations: 484.8 kB / 0.8577 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.8259, allocations: 209.8 kB / 0.8579 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.8261, allocations: 114.2 kB / 0.858 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8262, allocations: 326 kB / 0.8583 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.8267, allocations: 259 kB / 0.8586 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.8272, allocations: 372.2 kB / 0.8589 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.8282, allocations: 0.5863 MB / 0.8595 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8282, allocations: 0 / 0.8595 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001196/0.8294, allocations: 0.7357 MB / 0.8602 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8294, allocations: 10.17 kB / 0.8602 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.8294, allocations: 7.938 kB / 0.8602 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8294, allocations: 4 kB / 0.8603 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.83, allocations: 123.5 kB / 0.8604 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.83, allocations: 8.125 kB / 0.8604 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/0.8307, allocations: 71.48 kB / 0.8604 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.8308, allocations: 20 kB / 0.8605 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007305/0.8315, allocations: 497.9 kB / 0.8609 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005252/0.8321, allocations: 374.8 kB / 0.8613 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009197/0.833, allocations: 0.58 MB / 0.8619 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.833, allocations: 0 / 0.8619 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001183/0.8342, allocations: 0.724 MB / 0.8626 GB, free: 192 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/0.8342, allocations: 4 kB / 0.8626 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.8342, allocations: 0 / 0.8626 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.8342, allocations: 7.938 kB / 0.8626 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.8347, allocations: 123.6 kB / 0.8627 GB, free: 64 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.8348, allocations: 4 kB / 0.8627 GB, free: 60 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.8354, allocations: 71.67 kB / 0.8628 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.8355, allocations: 23.94 kB / 0.8628 GB, free: 15.96 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.0001677/0.8357, allocations: 219.8 kB / 0.863 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.8358, allocations: 98.78 kB / 0.8631 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.8371, allocations: 0.7417 MB / 0.8638 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8371, allocations: 8 kB / 0.8638 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.8372, allocations: 0 / 0.8638 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/0.8382, allocations: 0.9072 MB / 0.8647 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.8414, allocations: 2.236 MB / 0.8669 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8414, allocations: 4 kB / 0.8669 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.842, allocations: 138.1 kB / 0.867 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.842, allocations: 4.406 kB / 0.867 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.8421, allocations: 27.94 kB / 0.8671 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.8421, allocations: 15.17 kB / 0.8671 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8421, allocations: 4 kB / 0.8671 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.8438, allocations: 1.256 MB / 0.8683 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.8443, allocations: 259.7 kB / 0.8686 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.8444, allocations: 19.94 kB / 0.8686 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.845, allocations: 43.95 kB / 0.8686 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.8451, allocations: 44.38 kB / 0.8687 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.8452, allocations: 20 kB / 0.8687 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007282/0.8459, allocations: 0.593 MB / 0.8693 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8459, allocations: 0 / 0.8693 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001123/0.847, allocations: 0.5299 MB / 0.8698 GB, free: 8.555 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.0004337/0.8475, allocations: 243.6 kB / 0.87 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.8491, allocations: 0.9449 MB / 0.8709 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8491, allocations: 8 kB / 0.8709 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.8497, allocations: 342.6 kB / 0.8713 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.8518, allocations: 0.598 MB / 0.8719 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.8546, allocations: 2.115 MB / 0.8739 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/0.8553, allocations: 1.127 MB / 0.875 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007987/0.8561, allocations: 300.1 kB / 0.8753 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.8563, allocations: 83.42 kB / 0.8754 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.8563, allocations: 3.938 kB / 0.8754 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.02996/0.8862, allocations: 20.4 MB / 0.8953 GB, free: 14.79 MB / 0.6387 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)