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.00106/0.00106, allocations: 110.5 kB / 16.41 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.001012/0.001012, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.448/1.448, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.833/0.833, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 58.41 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5675/0.7064, allocations: 239.9 MB / 0.8946 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.718, allocations: 7.2 MB / 0.9016 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.7197, allocations: 51.69 kB / 0.9017 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.7217, allocations: 0.7144 MB / 0.9023 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.7271, allocations: 2.162 MB / 0.9045 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004884/0.732, allocations: 2.068 MB / 0.9065 GB, free: 9.906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.737, allocations: 3.269 MB / 0.9097 GB, free: 6.625 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.7387, allocations: 1.137 MB / 0.9108 GB, free: 5.473 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.7429, allocations: 1.86 MB / 0.9126 GB, free: 3.605 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.7449, allocations: 0.9665 MB / 0.9135 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.7451, allocations: 120 kB / 0.9137 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004957/0.75, allocations: 2.498 MB / 0.9161 GB, free: 20 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.7507, allocations: 466.7 kB / 0.9165 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008668/0.7516, allocations: 0.7233 MB / 0.9172 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.756, allocations: 2.698 MB / 0.9199 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7561, allocations: 0 / 0.9199 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.406e-06/0.7561, allocations: 0 / 0.9199 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.7561, allocations: 3.938 kB / 0.9199 GB, free: 12.12 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.003078/0.7592, allocations: 1.76 MB / 0.9216 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7592, allocations: 8.031 kB / 0.9216 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/0.7618, allocations: 434.7 kB / 0.922 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.7634, allocations: 1.031 MB / 0.923 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.7635, allocations: 58 kB / 0.9231 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.7636, allocations: 84 kB / 0.9232 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.7651, allocations: 0.8663 MB / 0.924 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.7652, allocations: 0 / 0.924 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.7652, allocations: 32 kB / 0.924 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.7653, allocations: 29.98 kB / 0.9241 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.7667, allocations: 0.8042 MB / 0.9249 GB, free: 6.926 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.004654/0.7714, allocations: 3.647 MB / 0.9284 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.7731, allocations: 1.097 MB / 0.9295 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.7737, allocations: 374.2 kB / 0.9298 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/0.7744, allocations: 404.9 kB / 0.9302 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.7744, allocations: 39.12 kB / 0.9303 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.064e-06/0.7744, allocations: 0 / 0.9303 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002015/0.7764, allocations: 0.9629 MB / 0.9312 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7765, allocations: 59.91 kB / 0.9313 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.7775, allocations: 0.84 MB / 0.9321 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.7775, allocations: 37.7 kB / 0.9321 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.7779, allocations: 484.8 kB / 0.9326 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.7782, allocations: 229.9 kB / 0.9328 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.7783, allocations: 114.2 kB / 0.9329 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7785, allocations: 326 kB / 0.9332 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005386/0.779, allocations: 255 kB / 0.9335 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.7797, allocations: 369.9 kB / 0.9338 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.7807, allocations: 0.593 MB / 0.9344 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7807, allocations: 3.938 kB / 0.9344 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001342/0.7821, allocations: 0.7443 MB / 0.9351 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7821, allocations: 6.031 kB / 0.9351 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7821, allocations: 4 kB / 0.9351 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7821, allocations: 0 / 0.9351 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.7828, allocations: 127.8 kB / 0.9353 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.7828, allocations: 4 kB / 0.9353 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.7835, allocations: 73.61 kB / 0.9353 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.7836, allocations: 23.98 kB / 0.9354 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007628/0.7843, allocations: 0.4893 MB / 0.9358 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005828/0.7849, allocations: 366.2 kB / 0.9362 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.7859, allocations: 0.5813 MB / 0.9368 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.7859, allocations: 0 / 0.9368 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001238/0.7872, allocations: 0.7247 MB / 0.9375 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.7872, allocations: 4 kB / 0.9375 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.7872, allocations: 8.938 kB / 0.9375 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.7872, allocations: 4 kB / 0.9375 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.7879, allocations: 123.8 kB / 0.9376 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7879, allocations: 7.984 kB / 0.9376 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.7886, allocations: 63.7 kB / 0.9377 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.7887, allocations: 23.98 kB / 0.9377 GB, free: 9.109 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.0002767/0.789, allocations: 216.1 kB / 0.9379 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.7891, allocations: 107.3 kB / 0.938 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.7905, allocations: 0.7504 MB / 0.9387 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.7917, allocations: 0.8995 MB / 0.9396 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.7917, allocations: 4 kB / 0.9396 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.7921, allocations: 260.2 kB / 0.9399 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.7922, allocations: 11.98 kB / 0.9399 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.7929, allocations: 35.97 kB / 0.9399 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.793, allocations: 44.44 kB / 0.9399 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001745/0.7947, allocations: 0.7915 MB / 0.9407 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002011/0.7968, allocations: 1.26 MB / 0.942 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005219/0.7973, allocations: 316.4 kB / 0.9423 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007958/0.7981, allocations: 0.5862 MB / 0.9428 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of Backend: time 2.81e-07/0.7981, allocations: 4 kB / 0.9428 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003224/0.8013, allocations: 1.277 MB / 0.9441 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of SimCode: time 0.004914/0.8063, allocations: 2.841 MB / 0.9469 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.04554/0.8518, allocations: 27.69 MB / 0.9739 GB, free: 4.121 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)