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.001239/0.001239, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001301/0.001301, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.663/0.663, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 62.97 kB / 0.5012 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.132, allocations: 80.21 MB / 0.5795 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4203/0.5523, allocations: 237.7 MB / 0.8116 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009371/0.5617, allocations: 7.275 MB / 0.8188 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008256/0.5626, allocations: 47.69 kB / 0.8188 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.5641, allocations: 0.5828 MB / 0.8194 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.5679, allocations: 1.95 MB / 0.8213 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.5715, allocations: 1.858 MB / 0.8231 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.5753, allocations: 4.446 MB / 0.8274 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.5763, allocations: 0.9473 MB / 0.8284 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.579, allocations: 1.591 MB / 0.8299 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.5803, allocations: 0.9984 MB / 0.8309 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.5805, allocations: 64 kB / 0.8309 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.5844, allocations: 2.837 MB / 0.8337 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.5848, allocations: 402.7 kB / 0.8341 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.5854, allocations: 0.6569 MB / 0.8347 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.5882, allocations: 2.773 MB / 0.8374 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5882, allocations: 0 / 0.8374 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5882, allocations: 0 / 0.8374 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.5882, allocations: 0 / 0.8374 GB, free: 10.98 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.002309/0.5905, allocations: 1.711 MB / 0.8391 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5906, allocations: 12.03 kB / 0.8391 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.5907, allocations: 130.8 kB / 0.8393 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.5931, allocations: 414 kB / 0.8397 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.5944, allocations: 0.9637 MB / 0.8406 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.5945, allocations: 66 kB / 0.8407 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.5946, allocations: 84 kB / 0.8407 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5959, allocations: 0.8701 MB / 0.8416 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.596, allocations: 0 / 0.8416 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.596, allocations: 36 kB / 0.8416 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.5961, allocations: 30 kB / 0.8416 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.5974, allocations: 0.8042 MB / 0.8424 GB, free: 5.762 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.003993/0.6014, allocations: 3.627 MB / 0.846 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.6027, allocations: 1.1 MB / 0.847 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.6033, allocations: 366.4 kB / 0.8474 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006783/0.604, allocations: 408.9 kB / 0.8478 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.604, allocations: 43.11 kB / 0.8478 GB, free: 15.74 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 1.974e-06/0.604, allocations: 0 / 0.8478 GB, free: 15.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001789/0.6058, allocations: 0.9507 MB / 0.8488 GB, free: 14.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.6059, allocations: 59.97 kB / 0.8488 GB, free: 14.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008765/0.6068, allocations: 0.84 MB / 0.8496 GB, free: 13.85 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.6068, allocations: 37.7 kB / 0.8497 GB, free: 13.81 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.6071, allocations: 488 kB / 0.8501 GB, free: 13.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.6073, allocations: 212.9 kB / 0.8503 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.6074, allocations: 114.1 kB / 0.8504 GB, free: 13 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.6075, allocations: 329.9 kB / 0.8508 GB, free: 12.67 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.608, allocations: 259 kB / 0.851 GB, free: 12.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.6085, allocations: 364.3 kB / 0.8514 GB, free: 12.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/0.6094, allocations: 0.6007 MB / 0.8519 GB, free: 11.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6094, allocations: 4 kB / 0.8519 GB, free: 11.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001146/0.6106, allocations: 0.7242 MB / 0.8527 GB, free: 10.67 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6106, allocations: 8 kB / 0.8527 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.6106, allocations: 0 / 0.8527 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.6107, allocations: 4 kB / 0.8527 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.6112, allocations: 131.9 kB / 0.8528 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.6112, allocations: 7.984 kB / 0.8528 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.612, allocations: 107.5 kB / 0.8529 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.6121, allocations: 23.98 kB / 0.8529 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006762/0.6127, allocations: 0.4893 MB / 0.8534 GB, free: 9.898 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004987/0.6132, allocations: 364.3 kB / 0.8538 GB, free: 9.504 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008791/0.6141, allocations: 0.5774 MB / 0.8543 GB, free: 8.914 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/0.6141, allocations: 11.98 kB / 0.8543 GB, free: 8.902 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001111/0.6153, allocations: 0.7202 MB / 0.855 GB, free: 8.172 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.6153, allocations: 7.984 kB / 0.855 GB, free: 8.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.6153, allocations: 4 kB / 0.855 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.6153, allocations: 4 kB / 0.855 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.6158, allocations: 127.9 kB / 0.8552 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.6158, allocations: 7.281 kB / 0.8552 GB, free: 8.027 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.6165, allocations: 107.5 kB / 0.8553 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.6166, allocations: 24 kB / 0.8553 GB, free: 7.898 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.0001509/0.6168, allocations: 220 kB / 0.8555 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6169, allocations: 102.8 kB / 0.8556 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.6181, allocations: 0.7431 MB / 0.8563 GB, free: 6.828 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6181, allocations: 4 kB / 0.8563 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6182, allocations: 4 kB / 0.8563 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.6192, allocations: 0.9034 MB / 0.8572 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.6221, allocations: 2.24 MB / 0.8594 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6221, allocations: 4 kB / 0.8594 GB, free: 3.449 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.6227, allocations: 135.8 kB / 0.8595 GB, free: 3.316 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.6227, allocations: 4 kB / 0.8595 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.6228, allocations: 20.41 kB / 0.8596 GB, free: 3.293 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.6228, allocations: 11.98 kB / 0.8596 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6228, allocations: 7.938 kB / 0.8596 GB, free: 3.273 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.6245, allocations: 1.256 MB / 0.8608 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.6248, allocations: 259.7 kB / 0.8611 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.6249, allocations: 16 kB / 0.8611 GB, free: 1.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.6256, allocations: 95.84 kB / 0.8612 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.6257, allocations: 52.25 kB / 0.8612 GB, free: 1.523 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.6258, allocations: 20 kB / 0.8612 GB, free: 1.504 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006575/0.6265, allocations: 0.5862 MB / 0.8618 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6265, allocations: 7.938 kB / 0.8618 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001063/0.6275, allocations: 0.5338 MB / 0.8623 GB, free: 372 kB / 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.2127/0.8402, allocations: 1.937 MB / 0.8642 GB, free: 226.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.8417, allocations: 0.9277 MB / 0.8651 GB, free: 226.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8417, allocations: 6.312 kB / 0.8651 GB, free: 226.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.8422, allocations: 339.6 kB / 0.8655 GB, free: 226.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.8447, allocations: 0.6202 MB / 0.8661 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/0.8534, allocations: 8.35 MB / 0.8742 GB, free: 221.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.8538, allocations: 1.124 MB / 0.8753 GB, free: 220.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008412/0.8546, allocations: 302.3 kB / 0.8756 GB, free: 220.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.855, allocations: 410.7 kB / 0.876 GB, free: 220.4 MB / 0.67 GB Notification: Performance of SimCode: time 2.9e-07/0.855, allocations: 0 / 0.876 GB, free: 220.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.867/3.722, allocations: 28.43 MB / 0.9038 GB, free: 217 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/3.722, allocations: 232.4 kB / 0.904 GB, free: 216.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/6.506, allocations: 3.5 kB / 0.904 GB, free: 216.7 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)