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.001528/0.001528, allocations: 105.3 kB / 16.41 MB, free: 6.496 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.001756/0.001757, allocations: 187 kB / 17.34 MB, free: 5.766 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7622/0.7622, allocations: 132.2 MB / 423.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.38 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5435/0.6788, allocations: 239.9 MB / 0.8946 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.6897, allocations: 7.197 MB / 0.9016 GB, free: 14.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.6914, allocations: 51.69 kB / 0.9016 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.6934, allocations: 0.7026 MB / 0.9023 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.6989, allocations: 2.064 MB / 0.9043 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004919/0.7038, allocations: 2.032 MB / 0.9063 GB, free: 9.812 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00484/0.7087, allocations: 3.262 MB / 0.9095 GB, free: 6.539 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.7104, allocations: 1.135 MB / 0.9106 GB, free: 5.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.7141, allocations: 1.821 MB / 0.9124 GB, free: 3.559 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.716, allocations: 0.9702 MB / 0.9133 GB, free: 2.586 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.7162, allocations: 124 kB / 0.9135 GB, free: 2.465 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.7208, allocations: 2.49 MB / 0.9159 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.7214, allocations: 458.7 kB / 0.9163 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009464/0.7223, allocations: 0.7194 MB / 0.917 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.7266, allocations: 2.696 MB / 0.9197 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7266, allocations: 0 / 0.9197 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7266, allocations: 0 / 0.9197 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.7267, allocations: 0 / 0.9197 GB, free: 12.1 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.002807/0.7295, allocations: 1.705 MB / 0.9213 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7295, allocations: 16.02 kB / 0.9213 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.7321, allocations: 429.4 kB / 0.9218 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.7339, allocations: 1.015 MB / 0.9228 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.734, allocations: 62 kB / 0.9228 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.7341, allocations: 83.91 kB / 0.9229 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.7357, allocations: 0.874 MB / 0.9237 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.7357, allocations: 0 / 0.9237 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.7358, allocations: 32 kB / 0.9238 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.7358, allocations: 26 kB / 0.9238 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.7373, allocations: 0.8081 MB / 0.9246 GB, free: 6.957 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.004515/0.7418, allocations: 3.643 MB / 0.9281 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.7432, allocations: 1.091 MB / 0.9292 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.7438, allocations: 374.2 kB / 0.9296 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/0.7445, allocations: 404.9 kB / 0.93 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.7446, allocations: 39.12 kB / 0.93 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.715e-06/0.7446, allocations: 3.938 kB / 0.93 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002071/0.7467, allocations: 0.9585 MB / 0.9309 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.7467, allocations: 55.97 kB / 0.931 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.7478, allocations: 0.8322 MB / 0.9318 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.7478, allocations: 41.7 kB / 0.9318 GB, free: 15 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.7482, allocations: 488.1 kB / 0.9323 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.7484, allocations: 216.8 kB / 0.9325 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.7486, allocations: 114.2 kB / 0.9326 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7487, allocations: 329.9 kB / 0.9329 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.7492, allocations: 251 kB / 0.9332 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.7498, allocations: 376.2 kB / 0.9335 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.7508, allocations: 0.593 MB / 0.9341 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7508, allocations: 0 / 0.9341 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001337/0.7521, allocations: 0.7359 MB / 0.9348 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.7522, allocations: 4 kB / 0.9348 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7522, allocations: 0 / 0.9348 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7522, allocations: 4 kB / 0.9348 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.7528, allocations: 127.9 kB / 0.935 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.7528, allocations: 7.938 kB / 0.935 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.7535, allocations: 74.3 kB / 0.935 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.7536, allocations: 23.98 kB / 0.9351 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007983/0.7544, allocations: 497 kB / 0.9355 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005618/0.755, allocations: 368.2 kB / 0.9359 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009885/0.756, allocations: 0.5812 MB / 0.9365 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.756, allocations: 3.984 kB / 0.9365 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001261/0.7573, allocations: 0.7164 MB / 0.9372 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.7573, allocations: 12.11 kB / 0.9372 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.7573, allocations: 0 / 0.9372 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.301e-06/0.7573, allocations: 4 kB / 0.9372 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.7578, allocations: 123.8 kB / 0.9373 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7579, allocations: 4.875 kB / 0.9373 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.7585, allocations: 69.78 kB / 0.9374 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.7586, allocations: 20 kB / 0.9374 GB, free: 9.176 MB / 0.7012 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.0001738/0.7588, allocations: 220.1 kB / 0.9376 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.7589, allocations: 102.8 kB / 0.9377 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.7603, allocations: 0.7418 MB / 0.9384 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7604, allocations: 4 kB / 0.9384 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7604, allocations: 0 / 0.9384 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.7615, allocations: 0.9033 MB / 0.9393 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.7649, allocations: 2.247 MB / 0.9415 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.7649, allocations: 4 kB / 0.9415 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.7656, allocations: 139.8 kB / 0.9416 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.7656, allocations: 4 kB / 0.9416 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.7656, allocations: 16 kB / 0.9416 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.7657, allocations: 8 kB / 0.9417 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7657, allocations: 416 / 0.9417 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.7676, allocations: 1.273 MB / 0.9429 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.768, allocations: 263.7 kB / 0.9432 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.7682, allocations: 16 kB / 0.9432 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.7689, allocations: 39.95 kB / 0.9432 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.769, allocations: 52.27 kB / 0.9433 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.769, allocations: 27.92 kB / 0.9433 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007935/0.7698, allocations: 0.5901 MB / 0.9439 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7698, allocations: 0 / 0.9439 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001279/0.7711, allocations: 0.526 MB / 0.9444 GB, free: 1.688 MB / 0.7012 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.000515/0.7717, allocations: 242.8 kB / 0.9446 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.7735, allocations: 0.9469 MB / 0.9455 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.7735, allocations: 4 kB / 0.9455 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.7741, allocations: 343.1 kB / 0.9459 GB, free: 176 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.7768, allocations: 0.5985 MB / 0.9464 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.7804, allocations: 2.165 MB / 0.9486 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.7812, allocations: 1.116 MB / 0.9496 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.7815, allocations: 87.42 kB / 0.9497 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.7815, allocations: 0 / 0.9497 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of Templates: time 0.02453/0.806, allocations: 17.36 MB / 0.9667 GB, free: 10.94 MB / 0.7325 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)