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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.124/1.124, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6402/0.6402, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 56.31 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.127, allocations: 80.2 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.3793/0.5064, allocations: 239.9 MB / 0.8144 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008944/0.5154, allocations: 7.181 MB / 0.8215 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.5164, allocations: 51.69 kB / 0.8215 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.5179, allocations: 0.7026 MB / 0.8222 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.5216, allocations: 2.066 MB / 0.8242 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003541/0.5252, allocations: 2.017 MB / 0.8262 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003011/0.5282, allocations: 3.267 MB / 0.8294 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.5295, allocations: 1.142 MB / 0.8305 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.5323, allocations: 1.786 MB / 0.8322 GB, free: 472 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.5338, allocations: 0.9658 MB / 0.8332 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.534, allocations: 124 kB / 0.8333 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.5373, allocations: 2.483 MB / 0.8357 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.5378, allocations: 462.7 kB / 0.8362 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.5385, allocations: 0.7233 MB / 0.8369 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.5416, allocations: 2.669 MB / 0.8395 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5416, allocations: 0 / 0.8395 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5416, allocations: 0 / 0.8395 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.209e-05/0.5416, allocations: 0 / 0.8395 GB, free: 9.031 MB / 0.6544 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.002568/0.5442, allocations: 1.706 MB / 0.8411 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.5442, allocations: 12.03 kB / 0.8411 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.5444, allocations: 126.8 kB / 0.8413 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.5468, allocations: 422 kB / 0.8417 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.5481, allocations: 0.9677 MB / 0.8426 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.5482, allocations: 62 kB / 0.8427 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.5483, allocations: 80 kB / 0.8427 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.5496, allocations: 0.8701 MB / 0.8436 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5496, allocations: 4 kB / 0.8436 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.5497, allocations: 32 kB / 0.8436 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.5497, allocations: 30 kB / 0.8437 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.551, allocations: 0.8081 MB / 0.8445 GB, free: 3.816 MB / 0.6544 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.003998/0.5551, allocations: 3.67 MB / 0.848 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.5564, allocations: 1.092 MB / 0.8491 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.5569, allocations: 375.2 kB / 0.8495 GB, free: 14.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.5575, allocations: 404.9 kB / 0.8498 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5576, allocations: 39.12 kB / 0.8499 GB, free: 13.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 1.593e-06/0.5576, allocations: 0 / 0.8499 GB, free: 13.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001837/0.5594, allocations: 0.9585 MB / 0.8508 GB, free: 12.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5595, allocations: 59.97 kB / 0.8509 GB, free: 12.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/0.5603, allocations: 0.8322 MB / 0.8517 GB, free: 11.88 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.5604, allocations: 45.7 kB / 0.8517 GB, free: 11.83 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5607, allocations: 480.1 kB / 0.8522 GB, free: 11.35 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.5609, allocations: 212.9 kB / 0.8524 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.561, allocations: 122.1 kB / 0.8525 GB, free: 11.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.5611, allocations: 329.9 kB / 0.8528 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.5616, allocations: 255 kB / 0.8531 GB, free: 10.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.5621, allocations: 376.3 kB / 0.8534 GB, free: 10.03 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.5631, allocations: 0.5852 MB / 0.854 GB, free: 9.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5631, allocations: 4 kB / 0.854 GB, free: 9.426 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001153/0.5642, allocations: 0.732 MB / 0.8547 GB, free: 8.688 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5642, allocations: 4 kB / 0.8547 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5643, allocations: 4 kB / 0.8547 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5643, allocations: 4 kB / 0.8547 GB, free: 8.676 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.5648, allocations: 127.8 kB / 0.8549 GB, free: 8.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5648, allocations: 8.125 kB / 0.8549 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.5654, allocations: 72.73 kB / 0.8549 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.5655, allocations: 20 kB / 0.8549 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006571/0.5662, allocations: 497 kB / 0.8554 GB, free: 7.965 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004926/0.5667, allocations: 368.3 kB / 0.8558 GB, free: 7.566 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008835/0.5675, allocations: 0.5774 MB / 0.8563 GB, free: 6.977 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.5676, allocations: 0 / 0.8563 GB, free: 6.977 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001099/0.5687, allocations: 0.7242 MB / 0.857 GB, free: 6.242 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.5687, allocations: 7.984 kB / 0.8571 GB, free: 6.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5687, allocations: 4 kB / 0.8571 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.5687, allocations: 0 / 0.8571 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.5692, allocations: 127.8 kB / 0.8572 GB, free: 6.105 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5692, allocations: 4 kB / 0.8572 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.5698, allocations: 63.73 kB / 0.8572 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.5699, allocations: 20.88 kB / 0.8573 GB, free: 6.02 MB / 0.67 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.0001427/0.57, allocations: 224 kB / 0.8575 GB, free: 5.793 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5702, allocations: 102.7 kB / 0.8576 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.5714, allocations: 0.7441 MB / 0.8583 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5714, allocations: 11.88 kB / 0.8583 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5714, allocations: 0 / 0.8583 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.5724, allocations: 0.8995 MB / 0.8592 GB, free: 3.945 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.5752, allocations: 2.243 MB / 0.8614 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5752, allocations: 4 kB / 0.8614 GB, free: 1.559 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/0.5758, allocations: 140.2 kB / 0.8615 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5758, allocations: 4 kB / 0.8615 GB, free: 1.418 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.5758, allocations: 16 kB / 0.8615 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5759, allocations: 8 kB / 0.8615 GB, free: 1.395 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5759, allocations: 7.938 kB / 0.8616 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5775, allocations: 1.256 MB / 0.8628 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1958/0.7733, allocations: 261.1 kB / 0.863 GB, free: 227.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.7736, allocations: 16.77 kB / 0.863 GB, free: 227.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.7745, allocations: 43.48 kB / 0.8631 GB, free: 227.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.7746, allocations: 51.91 kB / 0.8631 GB, free: 227.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.7747, allocations: 22.16 kB / 0.8632 GB, free: 227.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007051/0.7754, allocations: 0.5872 MB / 0.8637 GB, free: 227 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7754, allocations: 0.9062 kB / 0.8637 GB, free: 227 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001126/0.7765, allocations: 0.5356 MB / 0.8643 GB, free: 227 MB / 0.67 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.001931/0.7784, allocations: 1.931 MB / 0.8661 GB, free: 226.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.78, allocations: 1.008 MB / 0.8671 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7801, allocations: 3.938 kB / 0.8671 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.7805, allocations: 340.9 kB / 0.8675 GB, free: 225.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.7827, allocations: 0.6 MB / 0.868 GB, free: 225.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007598/0.7904, allocations: 7.98 MB / 0.8758 GB, free: 221.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.7908, allocations: 1.123 MB / 0.8769 GB, free: 220.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008815/0.7917, allocations: 309.5 kB / 0.8772 GB, free: 220.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.7921, allocations: 412.5 kB / 0.8776 GB, free: 220.4 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.7921, allocations: 0 / 0.8776 GB, free: 220.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.602/6.394, allocations: 29.15 MB / 0.9061 GB, free: 216.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/14.91, allocations: 13.08 kB / 0.9061 GB, free: 216.4 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)