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.001086/0.001086, 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.00113/0.00113, allocations: 193.7 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9079/0.9079, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 68.33 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4395/0.5667, allocations: 239.9 MB / 0.8187 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.5772, allocations: 7.179 MB / 0.8257 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.5784, allocations: 59.62 kB / 0.8258 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.58, allocations: 0.6949 MB / 0.8265 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.5844, allocations: 2.073 MB / 0.8285 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.5887, allocations: 2.002 MB / 0.8304 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003634/0.5923, allocations: 3.273 MB / 0.8336 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.5938, allocations: 1.146 MB / 0.8347 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003525/0.5973, allocations: 1.782 MB / 0.8365 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.5992, allocations: 0.9745 MB / 0.8374 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.5995, allocations: 124 kB / 0.8376 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.6039, allocations: 2.483 MB / 0.84 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005377/0.6044, allocations: 450.7 kB / 0.8404 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009545/0.6054, allocations: 0.7272 MB / 0.8411 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003814/0.6092, allocations: 2.672 MB / 0.8437 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6092, allocations: 0 / 0.8437 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6092, allocations: 4 kB / 0.8437 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.59e-05/0.6093, allocations: 0 / 0.8437 GB, free: 3.129 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.002621/0.6119, allocations: 1.704 MB / 0.8454 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6119, allocations: 8.031 kB / 0.8454 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.6121, allocations: 134.8 kB / 0.8455 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.6147, allocations: 414 kB / 0.8459 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.6161, allocations: 0.9754 MB / 0.8469 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.6161, allocations: 62 kB / 0.8469 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6163, allocations: 87.98 kB / 0.847 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.6177, allocations: 0.8585 MB / 0.8479 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6177, allocations: 4 kB / 0.8479 GB, free: 14.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.6178, allocations: 32 kB / 0.8479 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.6179, allocations: 30 kB / 0.8479 GB, free: 14.72 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.6193, allocations: 0.8042 MB / 0.8487 GB, free: 13.92 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.004199/0.6235, allocations: 3.67 MB / 0.8523 GB, free: 9.961 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.6249, allocations: 1.096 MB / 0.8534 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.6255, allocations: 367.2 kB / 0.8537 GB, free: 8.387 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/0.6262, allocations: 412.9 kB / 0.8541 GB, free: 7.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.6262, allocations: 39.12 kB / 0.8541 GB, free: 7.863 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.206e-06/0.6262, allocations: 0 / 0.8541 GB, free: 7.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001988/0.6282, allocations: 0.9583 MB / 0.8551 GB, free: 6.902 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.6283, allocations: 59.97 kB / 0.8551 GB, free: 6.832 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009578/0.6292, allocations: 0.8361 MB / 0.856 GB, free: 5.973 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.6293, allocations: 37.7 kB / 0.856 GB, free: 5.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.6296, allocations: 484.1 kB / 0.8565 GB, free: 5.449 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.6298, allocations: 216.9 kB / 0.8567 GB, free: 5.234 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.63, allocations: 118.1 kB / 0.8568 GB, free: 5.113 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.6301, allocations: 330 kB / 0.8571 GB, free: 4.785 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.6306, allocations: 251 kB / 0.8573 GB, free: 4.535 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.6312, allocations: 372.3 kB / 0.8577 GB, free: 4.137 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.6322, allocations: 0.593 MB / 0.8583 GB, free: 3.531 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6322, allocations: 0 / 0.8583 GB, free: 3.531 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001317/0.6335, allocations: 0.732 MB / 0.859 GB, free: 2.789 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6336, allocations: 11.94 kB / 0.859 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6336, allocations: 0 / 0.859 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6336, allocations: 5.25 kB / 0.859 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.6342, allocations: 127.8 kB / 0.8591 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6342, allocations: 4 kB / 0.8591 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.6349, allocations: 71.58 kB / 0.8592 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.635, allocations: 20 kB / 0.8592 GB, free: 2.555 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007572/0.6357, allocations: 497 kB / 0.8597 GB, free: 2.066 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005487/0.6363, allocations: 368.3 kB / 0.86 GB, free: 1.668 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009735/0.6373, allocations: 0.5774 MB / 0.8606 GB, free: 1.078 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.6373, allocations: 4 kB / 0.8606 GB, free: 1.074 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00123/0.6385, allocations: 0.7294 MB / 0.8613 GB, free: 344 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.6385, allocations: 4 kB / 0.8613 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6386, allocations: 4.125 kB / 0.8613 GB, free: 336 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.6386, allocations: 8 kB / 0.8613 GB, free: 328 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.6391, allocations: 123.8 kB / 0.8614 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6391, allocations: 6.125 kB / 0.8615 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.6398, allocations: 63.64 kB / 0.8615 GB, free: 136 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.6399, allocations: 20 kB / 0.8615 GB, free: 116 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.2275/0.8673, allocations: 210.5 kB / 0.8617 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.8677, allocations: 105.3 kB / 0.8618 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.8691, allocations: 0.7387 MB / 0.8626 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8691, allocations: 7.344 kB / 0.8626 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8692, allocations: 0 / 0.8626 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009595/0.8701, allocations: 0.9053 MB / 0.8634 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.8729, allocations: 2.238 MB / 0.8656 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.873, allocations: 6.484 kB / 0.8656 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.8736, allocations: 136.3 kB / 0.8658 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.8736, allocations: 8.625 kB / 0.8658 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.8737, allocations: 19.75 kB / 0.8658 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.8737, allocations: 9.219 kB / 0.8658 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.8737, allocations: 6.156 kB / 0.8658 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.8754, allocations: 1.259 MB / 0.867 GB, free: 221.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.8758, allocations: 257.7 kB / 0.8673 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.8759, allocations: 16.66 kB / 0.8673 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.8766, allocations: 42.72 kB / 0.8673 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.8767, allocations: 52.41 kB / 0.8674 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.8768, allocations: 20.16 kB / 0.8674 GB, free: 221.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006477/0.8774, allocations: 0.5861 MB / 0.868 GB, free: 221 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8774, allocations: 0 / 0.868 GB, free: 221 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001091/0.8785, allocations: 0.5411 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.002104/0.8806, allocations: 1.946 MB / 0.8704 GB, free: 219.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.8824, allocations: 1.01 MB / 0.8714 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8825, allocations: 0 / 0.8714 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.883, allocations: 337.6 kB / 0.8717 GB, free: 219.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.8856, allocations: 0.6015 MB / 0.8723 GB, free: 219.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009021/0.8947, allocations: 7.98 MB / 0.8801 GB, free: 214.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.8952, allocations: 1.125 MB / 0.8812 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001048/0.8962, allocations: 300.4 kB / 0.8815 GB, free: 214.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.8967, allocations: 411.6 kB / 0.8819 GB, free: 213.8 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.8967, allocations: 0 / 0.8819 GB, free: 213.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05345/0.9501, allocations: 29.16 MB / 0.9104 GB, free: 208.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.797, allocations: 15.08 kB / 0.9104 GB, free: 208.9 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)