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.004413/0.004413, allocations: 98.36 kB / 15.73 MB, free: 6.043 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.001101/0.001101, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7097/0.7097, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.23 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.154, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5628/0.7168, allocations: 239.9 MB / 0.8934 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009996/0.7269, allocations: 7.2 MB / 0.9005 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.7287, allocations: 55.81 kB / 0.9005 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.7305, allocations: 0.7199 MB / 0.9012 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.7354, allocations: 2.168 MB / 0.9033 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.7404, allocations: 2.063 MB / 0.9053 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004088/0.7445, allocations: 3.269 MB / 0.9085 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.7459, allocations: 1.138 MB / 0.9096 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.7497, allocations: 1.856 MB / 0.9115 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.7516, allocations: 0.9646 MB / 0.9124 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.7518, allocations: 120.2 kB / 0.9125 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/0.7565, allocations: 2.499 MB / 0.915 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.757, allocations: 467.4 kB / 0.9154 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008228/0.7578, allocations: 0.7209 MB / 0.9161 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.7621, allocations: 2.698 MB / 0.9187 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7621, allocations: 0 / 0.9187 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7621, allocations: 3.938 kB / 0.9187 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.7621, allocations: 0 / 0.9187 GB, free: 9.898 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.002805/0.7649, allocations: 1.757 MB / 0.9205 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.765, allocations: 11.97 kB / 0.9205 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.7651, allocations: 128.1 kB / 0.9206 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.7677, allocations: 430.5 kB / 0.921 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.7693, allocations: 1.027 MB / 0.922 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.7694, allocations: 68.78 kB / 0.9221 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.7695, allocations: 81.03 kB / 0.9221 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.7709, allocations: 0.8685 MB / 0.923 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.7709, allocations: 3.938 kB / 0.923 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.771, allocations: 29.78 kB / 0.923 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.771, allocations: 30.72 kB / 0.9231 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.7724, allocations: 0.8068 MB / 0.9238 GB, free: 6.539 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.004289/0.7767, allocations: 3.644 MB / 0.9274 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.778, allocations: 1.084 MB / 0.9285 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.7786, allocations: 373.2 kB / 0.9288 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.7792, allocations: 407.5 kB / 0.9292 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.7792, allocations: 43.12 kB / 0.9292 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.013e-06/0.7792, allocations: 0 / 0.9292 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001908/0.7812, allocations: 0.9667 MB / 0.9302 GB, free: 272 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.7812, allocations: 59.06 kB / 0.9302 GB, free: 204 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/0.7821, allocations: 0.8361 MB / 0.9311 GB, free: 15.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.7822, allocations: 45.69 kB / 0.9311 GB, free: 15.29 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.7825, allocations: 484.8 kB / 0.9316 GB, free: 14.81 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.7827, allocations: 220.9 kB / 0.9318 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.7829, allocations: 110.2 kB / 0.9319 GB, free: 14.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.783, allocations: 334 kB / 0.9322 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.7834, allocations: 250.9 kB / 0.9324 GB, free: 13.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.784, allocations: 377.4 kB / 0.9328 GB, free: 13.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009434/0.7849, allocations: 0.594 MB / 0.9334 GB, free: 12.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.785, allocations: 0 / 0.9334 GB, free: 12.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001185/0.7861, allocations: 0.7349 MB / 0.9341 GB, free: 12.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7862, allocations: 4 kB / 0.9341 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7862, allocations: 0 / 0.9341 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7862, allocations: 11.92 kB / 0.9341 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.7867, allocations: 126.2 kB / 0.9342 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.7868, allocations: 4 kB / 0.9342 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007448/0.7875, allocations: 79.75 kB / 0.9343 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.7876, allocations: 20 kB / 0.9343 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007136/0.7883, allocations: 496.2 kB / 0.9348 GB, free: 11.44 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005168/0.7888, allocations: 372.2 kB / 0.9352 GB, free: 11.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009175/0.7897, allocations: 0.5805 MB / 0.9357 GB, free: 10.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.7898, allocations: 0 / 0.9357 GB, free: 10.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001154/0.7909, allocations: 0.7262 MB / 0.9364 GB, free: 9.723 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.7909, allocations: 10.19 kB / 0.9365 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.7909, allocations: 0 / 0.9365 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.791, allocations: 4 kB / 0.9365 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.7915, allocations: 131 kB / 0.9366 GB, free: 9.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.7915, allocations: 4 kB / 0.9366 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.7922, allocations: 67.62 kB / 0.9366 GB, free: 9.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.7923, allocations: 24.09 kB / 0.9367 GB, free: 9.496 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.0001652/0.7925, allocations: 211.7 kB / 0.9369 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.7926, allocations: 115.3 kB / 0.937 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.7939, allocations: 0.733 MB / 0.9377 GB, free: 8.434 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.7939, allocations: 8 kB / 0.9377 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7939, allocations: 4 kB / 0.9377 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.795, allocations: 0.9019 MB / 0.9386 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.7983, allocations: 2.243 MB / 0.9408 GB, free: 5.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.7983, allocations: 4 kB / 0.9408 GB, free: 5.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.7989, allocations: 137 kB / 0.9409 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.799, allocations: 11.98 kB / 0.9409 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.799, allocations: 20.34 kB / 0.9409 GB, free: 4.926 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.799, allocations: 14.61 kB / 0.941 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.799, allocations: 6.531 kB / 0.941 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.8008, allocations: 1.253 MB / 0.9422 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.8012, allocations: 272.2 kB / 0.9424 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.8014, allocations: 19.94 kB / 0.9425 GB, free: 3.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/0.802, allocations: 37.27 kB / 0.9425 GB, free: 3.27 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8021, allocations: 54.91 kB / 0.9426 GB, free: 3.219 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.8022, allocations: 22.53 kB / 0.9426 GB, free: 3.199 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007085/0.8029, allocations: 0.5862 MB / 0.9432 GB, free: 2.602 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.8029, allocations: 0 / 0.9432 GB, free: 2.602 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0012/0.8041, allocations: 0.5419 MB / 0.9437 GB, free: 2.059 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.002434/0.8065, allocations: 1.933 MB / 0.9456 GB, free: 92 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.8083, allocations: 0.946 MB / 0.9465 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8083, allocations: 4 kB / 0.9465 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.8088, allocations: 341.6 kB / 0.9468 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.8115, allocations: 0.6008 MB / 0.9474 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00985/0.8213, allocations: 7.63 MB / 0.9549 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.822, allocations: 1.124 MB / 0.956 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009787/0.8229, allocations: 296.1 kB / 0.9562 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.8235, allocations: 415.3 kB / 0.9566 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of SimCode: time 8.52e-07/0.8235, allocations: 0 / 0.9566 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05436/0.8779, allocations: 29.38 MB / 0.9853 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.122/10, allocations: 5.188 kB / 0.9853 GB, free: 7.738 MB / 0.7169 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)