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.008131/0.008131, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001488/0.001488, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4669, allocations: 80.92 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.7997/1.267, allocations: 239.9 MB / 0.8989 GB, free: 19.68 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01193/1.279, allocations: 7.197 MB / 0.9059 GB, free: 19.57 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/1.281, allocations: 51.12 kB / 0.9059 GB, free: 19.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002152/1.283, allocations: 0.7183 MB / 0.9066 GB, free: 19.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006304/1.29, allocations: 2.166 MB / 0.9088 GB, free: 19.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005561/1.295, allocations: 2.061 MB / 0.9108 GB, free: 19.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005739/1.301, allocations: 3.281 MB / 0.914 GB, free: 19.4 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/1.303, allocations: 1.14 MB / 0.9151 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/1.308, allocations: 1.857 MB / 0.9169 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/1.31, allocations: 0.964 MB / 0.9178 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/1.31, allocations: 124.2 kB / 0.918 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/1.315, allocations: 2.497 MB / 0.9204 GB, free: 19.24 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005224/1.316, allocations: 462.6 kB / 0.9208 GB, free: 19.24 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009635/1.317, allocations: 0.7206 MB / 0.9215 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005019/1.322, allocations: 2.691 MB / 0.9242 GB, free: 18.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.322, allocations: 3.188 kB / 0.9242 GB, free: 18.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.184e-06/1.322, allocations: 0.9375 kB / 0.9242 GB, free: 18.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.322, allocations: 0 / 0.9242 GB, free: 18.82 MB / 0.6856 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.002701/1.325, allocations: 1.71 MB / 0.9258 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.325, allocations: 10.12 kB / 0.9259 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/1.327, allocations: 419.5 kB / 0.9263 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/1.329, allocations: 1.026 MB / 0.9273 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/1.329, allocations: 61.06 kB / 0.9273 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.329, allocations: 87.66 kB / 0.9274 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.331, allocations: 0.8647 MB / 0.9282 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.331, allocations: 6.875 kB / 0.9283 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/1.331, allocations: 32.66 kB / 0.9283 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/1.331, allocations: 32.12 kB / 0.9283 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/1.332, allocations: 0.8023 MB / 0.9291 GB, free: 17.41 MB / 0.6856 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.004576/1.337, allocations: 3.643 MB / 0.9327 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/1.338, allocations: 1.088 MB / 0.9337 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/1.339, allocations: 370 kB / 0.9341 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/1.34, allocations: 407 kB / 0.9345 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.34, allocations: 45.44 kB / 0.9345 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/1.34, allocations: 0 / 0.9345 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002043/1.342, allocations: 0.9539 MB / 0.9354 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/1.342, allocations: 58.25 kB / 0.9355 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.343, allocations: 0.84 MB / 0.9363 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/1.343, allocations: 41.83 kB / 0.9363 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/1.343, allocations: 478.9 kB / 0.9368 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/1.343, allocations: 213.4 kB / 0.937 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/1.344, allocations: 115.8 kB / 0.9371 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/1.344, allocations: 330.9 kB / 0.9374 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/1.344, allocations: 254.7 kB / 0.9377 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/1.345, allocations: 376.9 kB / 0.938 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/1.346, allocations: 0.5899 MB / 0.9386 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.346, allocations: 0.9062 kB / 0.9386 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001236/1.347, allocations: 0.7345 MB / 0.9393 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.347, allocations: 5.031 kB / 0.9393 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.347, allocations: 0.875 kB / 0.9393 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.347, allocations: 4.875 kB / 0.9393 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/1.347, allocations: 124.7 kB / 0.9395 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.348, allocations: 8.812 kB / 0.9395 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/1.348, allocations: 72.23 kB / 0.9395 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/1.348, allocations: 18.94 kB / 0.9396 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007569/1.349, allocations: 497.9 kB / 0.94 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005224/1.35, allocations: 368.4 kB / 0.9404 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001003/1.351, allocations: 0.5783 MB / 0.9409 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/1.351, allocations: 0.9062 kB / 0.9409 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001283/1.352, allocations: 0.7224 MB / 0.9417 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.352, allocations: 8.031 kB / 0.9417 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/1.352, allocations: 0 / 0.9417 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/1.352, allocations: 3.688 kB / 0.9417 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/1.352, allocations: 129.9 kB / 0.9418 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.353, allocations: 3.328 kB / 0.9418 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/1.353, allocations: 69.16 kB / 0.9419 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/1.353, allocations: 22.83 kB / 0.9419 GB, free: 13.16 MB / 0.6856 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.0001772/1.353, allocations: 218.2 kB / 0.9421 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/1.354, allocations: 103.7 kB / 0.9422 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/1.355, allocations: 0.7406 MB / 0.9429 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.355, allocations: 9.375 kB / 0.9429 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.355, allocations: 4.781 kB / 0.9429 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/1.356, allocations: 0.9052 MB / 0.9438 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/1.36, allocations: 2.24 MB / 0.946 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.36, allocations: 6.562 kB / 0.946 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/1.361, allocations: 135.4 kB / 0.9461 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.361, allocations: 5.062 kB / 0.9461 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/1.361, allocations: 18.75 kB / 0.9462 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.361, allocations: 10.56 kB / 0.9462 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.361, allocations: 11.11 kB / 0.9462 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/1.363, allocations: 1.257 MB / 0.9474 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/1.363, allocations: 256.4 kB / 0.9476 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.363, allocations: 15.94 kB / 0.9477 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/1.364, allocations: 42.2 kB / 0.9477 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.364, allocations: 53.28 kB / 0.9478 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/1.364, allocations: 24.78 kB / 0.9478 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009249/1.365, allocations: 0.5856 MB / 0.9483 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.365, allocations: 0.6875 kB / 0.9483 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001508/1.366, allocations: 0.5338 MB / 0.9489 GB, free: 10.32 MB / 0.6856 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.0005562/1.367, allocations: 251.2 kB / 0.9491 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001772/1.369, allocations: 0.9498 MB / 0.95 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.369, allocations: 1.469 kB / 0.95 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/1.369, allocations: 344.6 kB / 0.9504 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.372, allocations: 0.5896 MB / 0.9509 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/1.375, allocations: 2.121 MB / 0.953 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/1.376, allocations: 1.127 MB / 0.9541 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001018/1.377, allocations: 296.4 kB / 0.9544 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.377, allocations: 78.33 kB / 0.9545 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of SimCode: time 1.343e-06/1.377, allocations: 0 / 0.9545 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of Templates: time 0.03693/1.414, allocations: 20.54 MB / 0.9745 GB, free: 4.668 MB / 0.7012 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)