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.0009863/0.0009862, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001159/0.001159, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.131/1.131, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005654, allocations: 12 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2054, allocations: 82.31 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6587/0.8641, allocations: 218.8 MB / 0.801 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01353/0.8777, allocations: 6.795 MB / 0.8077 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.8804, allocations: 47.62 kB / 0.8077 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.8826, allocations: 465 kB / 0.8082 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00577/0.8884, allocations: 1.533 MB / 0.8097 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.8936, allocations: 1.448 MB / 0.8111 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006521/0.9002, allocations: 3.775 MB / 0.8148 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.9024, allocations: 0.808 MB / 0.8155 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.9066, allocations: 1.439 MB / 0.817 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.9086, allocations: 0.9065 MB / 0.8178 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003397/0.909, allocations: 48 kB / 0.8179 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.913, allocations: 1.391 MB / 0.8192 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.9137, allocations: 382.7 kB / 0.8196 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006435/0.9144, allocations: 285.1 kB / 0.8199 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/0.9174, allocations: 1.793 MB / 0.8216 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.9175, allocations: 0 / 0.8216 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9175, allocations: 3.938 kB / 0.8216 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.331e-05/0.9175, allocations: 0 / 0.8216 GB, free: 12.97 MB / 0.6387 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.003598/0.9211, allocations: 1.486 MB / 0.8231 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9212, allocations: 8.031 kB / 0.8231 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.9243, allocations: 421.2 kB / 0.8235 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.9266, allocations: 0.9296 MB / 0.8244 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/0.9267, allocations: 66 kB / 0.8245 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.927, allocations: 84 kB / 0.8245 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.9295, allocations: 0.874 MB / 0.8254 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.9296, allocations: 0 / 0.8254 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.9297, allocations: 32 kB / 0.8254 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/0.9297, allocations: 30 kB / 0.8255 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.9316, allocations: 0.8198 MB / 0.8263 GB, free: 8.133 MB / 0.6387 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.006244/0.9379, allocations: 3.647 MB / 0.8298 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.9396, allocations: 1.093 MB / 0.8309 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.9403, allocations: 383.2 kB / 0.8313 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007221/0.941, allocations: 424.8 kB / 0.8317 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.9411, allocations: 43.11 kB / 0.8317 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 4.378e-06/0.9411, allocations: 3.938 kB / 0.8317 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002274/0.9433, allocations: 0.9819 MB / 0.8327 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.9434, allocations: 59.95 kB / 0.8327 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.9446, allocations: 0.8282 MB / 0.8335 GB, free: 164 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.822e-05/0.9446, allocations: 37.7 kB / 0.8336 GB, free: 120 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.945, allocations: 480.2 kB / 0.834 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.9452, allocations: 212.8 kB / 0.8342 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.9453, allocations: 12 kB / 0.8342 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9454, allocations: 330 kB / 0.8346 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.9458, allocations: 249 kB / 0.8348 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.9464, allocations: 380.2 kB / 0.8352 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.947, allocations: 298.1 kB / 0.8354 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.947, allocations: 4 kB / 0.8354 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001361/0.9483, allocations: 0.7437 MB / 0.8362 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/0.9484, allocations: 126.6 kB / 0.8363 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9484, allocations: 0.625 kB / 0.8363 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.9485, allocations: 8.094 kB / 0.8363 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.949, allocations: 131.8 kB / 0.8364 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.9491, allocations: 4 kB / 0.8364 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.9499, allocations: 123.3 kB / 0.8365 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.95, allocations: 23.98 kB / 0.8366 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.95, allocations: 4 kB / 0.8366 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/0.9511, allocations: 0.6261 MB / 0.8372 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.9511, allocations: 0 / 0.8372 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.9511, allocations: 4 kB / 0.8372 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.9516, allocations: 131.9 kB / 0.8373 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.9517, allocations: 11.94 kB / 0.8373 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.9524, allocations: 119.4 kB / 0.8374 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.9524, allocations: 24 kB / 0.8375 GB, free: 12.05 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004559/0.9529, allocations: 388.8 kB / 0.8378 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.953, allocations: 102.8 kB / 0.8379 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.9544, allocations: 0.758 MB / 0.8387 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.9544, allocations: 8 kB / 0.8387 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9544, allocations: 3.953 kB / 0.8387 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.9556, allocations: 0.9189 MB / 0.8396 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.9588, allocations: 2.263 MB / 0.8418 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.9589, allocations: 7.938 kB / 0.8418 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/0.9595, allocations: 148.2 kB / 0.8419 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.9596, allocations: 7.984 kB / 0.8419 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.9596, allocations: 16 kB / 0.842 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.9596, allocations: 8 kB / 0.842 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.9596, allocations: 7.938 kB / 0.842 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.9616, allocations: 1.292 MB / 0.8432 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.962, allocations: 253 kB / 0.8435 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.9621, allocations: 19.98 kB / 0.8435 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.9628, allocations: 99.84 kB / 0.8436 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.9629, allocations: 52.33 kB / 0.8436 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.963, allocations: 23.94 kB / 0.8437 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007543/0.9637, allocations: 0.5784 MB / 0.8442 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9638, allocations: 0 / 0.8442 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001306/0.9651, allocations: 0.5299 MB / 0.8447 GB, free: 4.266 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000528/0.9656, allocations: 247.7 kB / 0.845 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.9674, allocations: 0.9627 MB / 0.8459 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.9674, allocations: 0 / 0.8459 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.968, allocations: 351 kB / 0.8463 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.9707, allocations: 0.6224 MB / 0.8469 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.9741, allocations: 2.618 MB / 0.8494 GB, free: 15.42 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.9748, allocations: 1.124 MB / 0.8505 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001039/0.9759, allocations: 300.1 kB / 0.8508 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.9761, allocations: 79.42 kB / 0.8509 GB, free: 13.89 MB / 0.67 GB Notification: Performance of SimCode: time 4.71e-07/0.9761, allocations: 0 / 0.8509 GB, free: 13.89 MB / 0.67 GB Notification: Performance of Templates: time 0.3185/1.295, allocations: 19.1 MB / 0.8695 GB, free: 212.7 MB / 0.67 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)