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.001249/0.001249, allocations: 108 kB / 15.61 MB, free: 148 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.001239/0.001239, allocations: 194.7 kB / 16.53 MB, free: 6.691 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7234/0.7234, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.48 kB / 0.5019 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3171, allocations: 80.19 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2182/0.5353, allocations: 239.9 MB / 0.8144 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.2832/0.8186, allocations: 7.185 MB / 0.8214 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.8196, allocations: 53.12 kB / 0.8215 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.821, allocations: 0.6964 MB / 0.8222 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.8248, allocations: 2.069 MB / 0.8242 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.8287, allocations: 2.018 MB / 0.8262 GB, free: 19.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.8318, allocations: 3.263 MB / 0.8294 GB, free: 19.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.8331, allocations: 1.141 MB / 0.8305 GB, free: 19.65 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.836, allocations: 1.785 MB / 0.8322 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.8374, allocations: 0.9615 MB / 0.8332 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.8376, allocations: 121.4 kB / 0.8333 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.8417, allocations: 2.487 MB / 0.8357 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.8421, allocations: 460 kB / 0.8361 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007072/0.8429, allocations: 0.7264 MB / 0.8368 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.8455, allocations: 2.665 MB / 0.8394 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8456, allocations: 3.844 kB / 0.8395 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8456, allocations: 0 / 0.8395 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.8456, allocations: 0.9062 kB / 0.8395 GB, free: 19.46 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.002083/0.8477, allocations: 1.706 MB / 0.8411 GB, free: 18.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.8477, allocations: 8.469 kB / 0.8411 GB, free: 18.56 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.8478, allocations: 130.2 kB / 0.8413 GB, free: 18.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.8503, allocations: 419.5 kB / 0.8417 GB, free: 18.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.8514, allocations: 0.9714 MB / 0.8426 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.8515, allocations: 65.2 kB / 0.8427 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8516, allocations: 88.62 kB / 0.8427 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.8528, allocations: 0.8667 MB / 0.8436 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.8529, allocations: 2.109 kB / 0.8436 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.853, allocations: 29 kB / 0.8436 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.853, allocations: 28.72 kB / 0.8436 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.8543, allocations: 0.8061 MB / 0.8444 GB, free: 18.02 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.003448/0.8577, allocations: 3.669 MB / 0.848 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8589, allocations: 1.096 MB / 0.8491 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.8594, allocations: 367.6 kB / 0.8494 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/0.86, allocations: 408.8 kB / 0.8498 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.86, allocations: 46.88 kB / 0.8499 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.074e-06/0.86, allocations: 0.8438 kB / 0.8499 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001781/0.8618, allocations: 0.9544 MB / 0.8508 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.8618, allocations: 59.34 kB / 0.8509 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.8626, allocations: 0.8336 MB / 0.8517 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.8627, allocations: 41.67 kB / 0.8517 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.8629, allocations: 481.2 kB / 0.8522 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.8631, allocations: 219.1 kB / 0.8524 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.8632, allocations: 113.5 kB / 0.8525 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.8633, allocations: 331.8 kB / 0.8528 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.8637, allocations: 252 kB / 0.8531 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.8642, allocations: 371.3 kB / 0.8534 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.8651, allocations: 0.5939 MB / 0.854 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8651, allocations: 0 / 0.854 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001103/0.8662, allocations: 0.7326 MB / 0.8547 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8663, allocations: 7.125 kB / 0.8547 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8663, allocations: 3.266 kB / 0.8547 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8663, allocations: 7 kB / 0.8547 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.8668, allocations: 122.7 kB / 0.8548 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.8668, allocations: 7 kB / 0.8548 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.8675, allocations: 69 kB / 0.8549 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.8676, allocations: 21.88 kB / 0.8549 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006389/0.8682, allocations: 497.1 kB / 0.8554 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004691/0.8687, allocations: 367.5 kB / 0.8558 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008515/0.8696, allocations: 0.579 MB / 0.8563 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.8696, allocations: 1.094 kB / 0.8563 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001079/0.8707, allocations: 0.7267 MB / 0.857 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.8707, allocations: 5.906 kB / 0.857 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.8707, allocations: 0 / 0.857 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.8707, allocations: 12.97 kB / 0.857 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.8712, allocations: 123.6 kB / 0.8572 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.8712, allocations: 3.734 kB / 0.8572 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.8719, allocations: 66.84 kB / 0.8572 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.8719, allocations: 24.05 kB / 0.8573 GB, free: 13.79 MB / 0.6387 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.0001164/0.872, allocations: 219.4 kB / 0.8575 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.8722, allocations: 99.81 kB / 0.8576 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.8734, allocations: 0.7461 MB / 0.8583 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.8734, allocations: 9.062 kB / 0.8583 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8734, allocations: 0.9062 kB / 0.8583 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009483/0.8744, allocations: 0.9045 MB / 0.8592 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.877, allocations: 2.242 MB / 0.8614 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8771, allocations: 0 / 0.8614 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.8777, allocations: 136.9 kB / 0.8615 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.8777, allocations: 9.344 kB / 0.8615 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.8777, allocations: 19.41 kB / 0.8615 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.8777, allocations: 9.219 kB / 0.8615 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8777, allocations: 2.406 kB / 0.8615 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.8794, allocations: 1.26 MB / 0.8628 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.8796, allocations: 258.9 kB / 0.863 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.8798, allocations: 15.75 kB / 0.863 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.8804, allocations: 41.25 kB / 0.8631 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.8805, allocations: 51.39 kB / 0.8631 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.8806, allocations: 29.2 kB / 0.8631 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006356/0.8812, allocations: 0.5813 MB / 0.8637 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8812, allocations: 0 / 0.8637 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001105/0.8823, allocations: 0.5343 MB / 0.8642 GB, free: 11.72 MB / 0.6387 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.002067/0.8844, allocations: 1.943 MB / 0.8661 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.8861, allocations: 1.005 MB / 0.8671 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8861, allocations: 8.531 kB / 0.8671 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.8866, allocations: 339.9 kB / 0.8674 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.889, allocations: 0.5979 MB / 0.868 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008374/0.8974, allocations: 7.981 MB / 0.8758 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.8979, allocations: 1.123 MB / 0.8769 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000959/0.8989, allocations: 300.5 kB / 0.8772 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.8993, allocations: 418 kB / 0.8776 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.8993, allocations: 1.203 kB / 0.8776 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04887/0.9482, allocations: 29.16 MB / 0.9061 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/8.434, allocations: 0 / 0.9061 GB, free: 0.6484 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)