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.004792/0.004792, allocations: 100.3 kB / 15.73 MB, free: 6.02 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.001283/0.001283, allocations: 191.9 kB / 16.67 MB, free: 5.938 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8466/0.8466, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 65.97 kB / 0.5857 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1338, allocations: 81.02 MB / 0.6649 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5236/0.6574, allocations: 239.9 MB / 0.8991 GB, free: 14.51 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.669, allocations: 7.201 MB / 0.9061 GB, free: 7.301 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008382/0.6699, allocations: 51.69 kB / 0.9062 GB, free: 7.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.6715, allocations: 0.6988 MB / 0.9069 GB, free: 6.547 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.6758, allocations: 2.069 MB / 0.9089 GB, free: 4.469 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.6802, allocations: 2.037 MB / 0.9109 GB, free: 2.441 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003684/0.6838, allocations: 3.258 MB / 0.914 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.6853, allocations: 1.14 MB / 0.9152 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.6885, allocations: 1.798 MB / 0.9169 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.6902, allocations: 0.9628 MB / 0.9179 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.6904, allocations: 120 kB / 0.918 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.6946, allocations: 2.494 MB / 0.9204 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.6951, allocations: 458.7 kB / 0.9208 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007864/0.6959, allocations: 0.7233 MB / 0.9215 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.6996, allocations: 2.706 MB / 0.9242 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6996, allocations: 0 / 0.9242 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6996, allocations: 0 / 0.9242 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.6997, allocations: 0 / 0.9242 GB, free: 4.738 MB / 0.6856 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.002778/0.7025, allocations: 1.753 MB / 0.9259 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.7025, allocations: 9.109 kB / 0.9259 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.7027, allocations: 130.8 kB / 0.926 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.7053, allocations: 426.8 kB / 0.9264 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.707, allocations: 1.035 MB / 0.9275 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.7071, allocations: 66 kB / 0.9275 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.7073, allocations: 87.94 kB / 0.9276 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.7089, allocations: 0.8546 MB / 0.9284 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.7089, allocations: 0 / 0.9284 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.709, allocations: 36 kB / 0.9285 GB, free: 248 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.7091, allocations: 33.94 kB / 0.9285 GB, free: 216 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.7107, allocations: 0.8043 MB / 0.9293 GB, free: 15.4 MB / 0.7012 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.00483/0.7155, allocations: 3.655 MB / 0.9329 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.7171, allocations: 1.09 MB / 0.9339 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.7178, allocations: 374.3 kB / 0.9343 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/0.7185, allocations: 412.9 kB / 0.9347 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.7186, allocations: 40 kB / 0.9347 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 1.933e-06/0.7186, allocations: 0 / 0.9347 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.002232/0.7208, allocations: 0.9629 MB / 0.9356 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.7209, allocations: 59.97 kB / 0.9357 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.722, allocations: 0.836 MB / 0.9365 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.7221, allocations: 41.7 kB / 0.9366 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.7225, allocations: 488.8 kB / 0.937 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.7227, allocations: 222.1 kB / 0.9372 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.7229, allocations: 114.2 kB / 0.9373 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7231, allocations: 329.9 kB / 0.9377 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.7236, allocations: 251 kB / 0.9379 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.7243, allocations: 372.3 kB / 0.9383 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.7254, allocations: 0.593 MB / 0.9388 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7255, allocations: 0 / 0.9388 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001456/0.7269, allocations: 0.7365 MB / 0.9396 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7269, allocations: 4 kB / 0.9396 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.727, allocations: 7.984 kB / 0.9396 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.727, allocations: 4 kB / 0.9396 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.7276, allocations: 124.8 kB / 0.9397 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.7276, allocations: 4 kB / 0.9397 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/0.7283, allocations: 71.75 kB / 0.9398 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.7284, allocations: 23.94 kB / 0.9398 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008515/0.7292, allocations: 497 kB / 0.9403 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006149/0.7299, allocations: 372.2 kB / 0.9406 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/0.731, allocations: 0.5774 MB / 0.9412 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.731, allocations: 5.5 kB / 0.9412 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0014/0.7324, allocations: 0.7326 MB / 0.9419 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.7324, allocations: 4 kB / 0.9419 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7324, allocations: 4 kB / 0.9419 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.7325, allocations: 0 / 0.9419 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.7331, allocations: 124.8 kB / 0.942 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7331, allocations: 11.88 kB / 0.942 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.7338, allocations: 71.61 kB / 0.9421 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.7339, allocations: 24.06 kB / 0.9421 GB, free: 1.57 MB / 0.7012 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.0001946/0.7341, allocations: 217.5 kB / 0.9423 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7342, allocations: 103.3 kB / 0.9424 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.7357, allocations: 0.7446 MB / 0.9432 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7358, allocations: 4 kB / 0.9432 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7358, allocations: 4 kB / 0.9432 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001359/0.7371, allocations: 0.9073 MB / 0.9441 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.7407, allocations: 2.243 MB / 0.9462 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.7407, allocations: 0 / 0.9462 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.7414, allocations: 139.9 kB / 0.9464 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7414, allocations: 4 kB / 0.9464 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.7415, allocations: 16.41 kB / 0.9464 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.732e-05/0.7415, allocations: 19.92 kB / 0.9464 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7415, allocations: 4 kB / 0.9464 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.7436, allocations: 1.258 MB / 0.9476 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.744, allocations: 264.3 kB / 0.9479 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.7442, allocations: 23.94 kB / 0.9479 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/0.7448, allocations: 40.89 kB / 0.948 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.745, allocations: 52.25 kB / 0.948 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.745, allocations: 24.12 kB / 0.948 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008077/0.7458, allocations: 0.5862 MB / 0.9486 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7458, allocations: 0 / 0.9486 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001207/0.747, allocations: 0.5419 MB / 0.9491 GB, free: 10.07 MB / 0.7169 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.002776/0.7498, allocations: 1.939 MB / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.7517, allocations: 0.9427 MB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7518, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006394/0.7524, allocations: 347.5 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.7551, allocations: 0.5982 MB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.7664, allocations: 7.627 MB / 0.9603 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/0.7672, allocations: 1.124 MB / 0.9614 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009298/0.7681, allocations: 296.1 kB / 0.9617 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.7688, allocations: 415.3 kB / 0.9621 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.7688, allocations: 0 / 0.9621 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06147/0.8302, allocations: 29.4 MB / 0.9908 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.622/10.45, allocations: 10.23 kB / 0.9908 GB, free: 15.46 MB / 0.7637 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)