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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_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.001356/0.001356, allocations: 108 kB / 15.61 MB, free: 152 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.001473/0.001473, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8455/0.8455, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.28 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1279, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4152/0.5431, allocations: 239.8 MB / 0.8187 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009328/0.5525, allocations: 7.197 MB / 0.8257 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.5536, allocations: 51.69 kB / 0.8258 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.5552, allocations: 0.6988 MB / 0.8265 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.5592, allocations: 2.072 MB / 0.8285 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.5629, allocations: 2.014 MB / 0.8304 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003184/0.5661, allocations: 3.258 MB / 0.8336 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.5675, allocations: 1.145 MB / 0.8347 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.5704, allocations: 1.79 MB / 0.8365 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.572, allocations: 0.9712 MB / 0.8374 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.5722, allocations: 120 kB / 0.8376 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/0.5756, allocations: 2.49 MB / 0.84 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.576, allocations: 458.7 kB / 0.8404 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007105/0.5767, allocations: 0.7155 MB / 0.8411 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.5797, allocations: 2.669 MB / 0.8437 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5797, allocations: 0 / 0.8437 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5797, allocations: 0 / 0.8437 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.5797, allocations: 3.938 kB / 0.8437 GB, free: 3.102 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.002516/0.5823, allocations: 1.712 MB / 0.8454 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5823, allocations: 8.031 kB / 0.8454 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.5824, allocations: 122.8 kB / 0.8455 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.5848, allocations: 426 kB / 0.8459 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5861, allocations: 0.9677 MB / 0.8469 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.5862, allocations: 66 kB / 0.8469 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.5863, allocations: 80 kB / 0.847 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.5876, allocations: 0.8701 MB / 0.8479 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5876, allocations: 0 / 0.8479 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-05/0.5877, allocations: 32 kB / 0.8479 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.5878, allocations: 26 kB / 0.8479 GB, free: 14.69 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.5891, allocations: 0.8042 MB / 0.8487 GB, free: 13.89 MB / 0.67 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.003924/0.593, allocations: 3.676 MB / 0.8523 GB, free: 9.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5943, allocations: 1.092 MB / 0.8534 GB, free: 8.719 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.5948, allocations: 367.2 kB / 0.8537 GB, free: 8.359 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.5954, allocations: 404.9 kB / 0.8541 GB, free: 7.891 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.5954, allocations: 43.12 kB / 0.8541 GB, free: 7.84 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 1.493e-06/0.5954, allocations: 3.938 kB / 0.8541 GB, free: 7.836 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.0018/0.5972, allocations: 0.9622 MB / 0.8551 GB, free: 6.871 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.5973, allocations: 55.97 kB / 0.8551 GB, free: 6.805 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.5982, allocations: 0.8439 MB / 0.856 GB, free: 5.938 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.5982, allocations: 37.7 kB / 0.856 GB, free: 5.895 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.5985, allocations: 484.1 kB / 0.8565 GB, free: 5.414 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.5987, allocations: 216.9 kB / 0.8567 GB, free: 5.199 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.5988, allocations: 106.2 kB / 0.8568 GB, free: 5.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.5989, allocations: 334 kB / 0.8571 GB, free: 4.758 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.5994, allocations: 259 kB / 0.8573 GB, free: 4.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.5999, allocations: 368.2 kB / 0.8577 GB, free: 4.105 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.6008, allocations: 0.593 MB / 0.8583 GB, free: 3.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6009, allocations: 0 / 0.8583 GB, free: 3.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001188/0.6021, allocations: 0.7359 MB / 0.859 GB, free: 2.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6021, allocations: 7.938 kB / 0.859 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6021, allocations: 0 / 0.859 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6021, allocations: 4 kB / 0.859 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.6026, allocations: 125.2 kB / 0.8591 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6026, allocations: 4 kB / 0.8591 GB, free: 2.617 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.6033, allocations: 75.42 kB / 0.8592 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.6033, allocations: 24 kB / 0.8592 GB, free: 2.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006632/0.604, allocations: 497 kB / 0.8597 GB, free: 2.031 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004988/0.6045, allocations: 368.3 kB / 0.86 GB, free: 1.633 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008888/0.6054, allocations: 0.5774 MB / 0.8606 GB, free: 1.043 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.6054, allocations: 3.938 kB / 0.8606 GB, free: 1.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001121/0.6066, allocations: 0.7281 MB / 0.8613 GB, free: 308 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.6066, allocations: 8 kB / 0.8613 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.6066, allocations: 0 / 0.8613 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/0.6066, allocations: 4 kB / 0.8613 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.6071, allocations: 123.8 kB / 0.8614 GB, free: 172 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6071, allocations: 4 kB / 0.8615 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.6077, allocations: 64.61 kB / 0.8615 GB, free: 104 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6078, allocations: 23.98 kB / 0.8615 GB, free: 80 kB / 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.2024/0.8101, allocations: 213.9 kB / 0.8617 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.8104, allocations: 99.78 kB / 0.8618 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.8117, allocations: 0.7377 MB / 0.8626 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8117, allocations: 5.375 kB / 0.8626 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8117, allocations: 2.781 kB / 0.8626 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008528/0.8126, allocations: 0.9037 MB / 0.8634 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.815, allocations: 2.241 MB / 0.8656 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.815, allocations: 3.188 kB / 0.8656 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.8156, allocations: 138.4 kB / 0.8658 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.8156, allocations: 6 kB / 0.8658 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.8156, allocations: 25.86 kB / 0.8658 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.8156, allocations: 6.188 kB / 0.8658 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8157, allocations: 9.688 kB / 0.8658 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.817, allocations: 1.247 MB / 0.867 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.8173, allocations: 260.5 kB / 0.8673 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.8174, allocations: 18.44 kB / 0.8673 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.818, allocations: 50.23 kB / 0.8673 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.8181, allocations: 41.56 kB / 0.8674 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.8181, allocations: 24.52 kB / 0.8674 GB, free: 221.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005499/0.8187, allocations: 0.5855 MB / 0.868 GB, free: 221 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8187, allocations: 3.938 kB / 0.868 GB, free: 221 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009293/0.8196, allocations: 0.538 MB / 0.8685 GB, free: 220.9 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.001777/0.8214, allocations: 1.943 MB / 0.8704 GB, free: 219.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.8229, allocations: 1.006 MB / 0.8714 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8229, allocations: 0 / 0.8714 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.8234, allocations: 346 kB / 0.8717 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.8255, allocations: 0.6024 MB / 0.8723 GB, free: 219.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007333/0.8329, allocations: 7.979 MB / 0.8801 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.8333, allocations: 1.124 MB / 0.8812 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007928/0.8341, allocations: 298 kB / 0.8815 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.8344, allocations: 414.8 kB / 0.8819 GB, free: 213.9 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.8344, allocations: 0 / 0.8819 GB, free: 213.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.104/2.939, allocations: 29.16 MB / 0.9104 GB, free: 209 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/17.85, allocations: 10.73 kB / 0.9104 GB, free: 209 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)