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.004737/0.004737, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001134/0.001134, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.291/1.291, 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/package.mo): time 0.7858/0.7858, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.00115, allocations: 64.33 kB / 0.5808 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1442, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5677/0.712, allocations: 239.9 MB / 0.8934 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.7231, allocations: 7.2 MB / 0.9004 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.7247, allocations: 55.62 kB / 0.9005 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.7265, allocations: 0.6987 MB / 0.9012 GB, free: 14.17 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.7312, allocations: 2.064 MB / 0.9032 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.7356, allocations: 2.027 MB / 0.9052 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003895/0.7395, allocations: 3.273 MB / 0.9084 GB, free: 6.801 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.7409, allocations: 1.14 MB / 0.9095 GB, free: 5.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.7445, allocations: 1.818 MB / 0.9113 GB, free: 3.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.7461, allocations: 0.9677 MB / 0.9122 GB, free: 2.852 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.7463, allocations: 124 kB / 0.9123 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.7503, allocations: 2.486 MB / 0.9148 GB, free: 244 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.7507, allocations: 458.7 kB / 0.9152 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007359/0.7515, allocations: 0.7155 MB / 0.9159 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.755, allocations: 2.696 MB / 0.9185 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.755, allocations: 0 / 0.9185 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.433e-06/0.755, allocations: 4 kB / 0.9185 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.755, allocations: 4 kB / 0.9185 GB, free: 12.36 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.00251/0.7575, allocations: 1.709 MB / 0.9202 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7576, allocations: 8.031 kB / 0.9202 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.7577, allocations: 126.8 kB / 0.9203 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.76, allocations: 425.9 kB / 0.9207 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.7617, allocations: 1.022 MB / 0.9217 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.7617, allocations: 62 kB / 0.9218 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.7618, allocations: 87.91 kB / 0.9219 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.7633, allocations: 0.8624 MB / 0.9227 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.7633, allocations: 7.984 kB / 0.9227 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.7634, allocations: 32 kB / 0.9228 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.7634, allocations: 26 kB / 0.9228 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.7647, allocations: 0.8042 MB / 0.9236 GB, free: 7.086 MB / 0.6856 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.004157/0.7689, allocations: 3.639 MB / 0.9271 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.7703, allocations: 1.087 MB / 0.9282 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.7708, allocations: 382.1 kB / 0.9285 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006462/0.7715, allocations: 400.9 kB / 0.9289 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7715, allocations: 52.23 kB / 0.929 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.7715, allocations: 0 / 0.929 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.001985/0.7735, allocations: 0.9546 MB / 0.9299 GB, free: 96 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.7736, allocations: 55.97 kB / 0.93 GB, free: 28 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/0.7745, allocations: 0.8361 MB / 0.9308 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.7746, allocations: 37.7 kB / 0.9308 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.7749, allocations: 488 kB / 0.9313 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.7751, allocations: 216.8 kB / 0.9315 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.7753, allocations: 106.2 kB / 0.9316 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7754, allocations: 337.9 kB / 0.9319 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.7758, allocations: 258.9 kB / 0.9322 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.7764, allocations: 368.3 kB / 0.9325 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.7774, allocations: 0.593 MB / 0.9331 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7774, allocations: 0 / 0.9331 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001208/0.7786, allocations: 0.732 MB / 0.9338 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7787, allocations: 4 kB / 0.9338 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7787, allocations: 4.125 kB / 0.9338 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7787, allocations: 7.938 kB / 0.9338 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.7792, allocations: 127.8 kB / 0.9339 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7792, allocations: 7.984 kB / 0.9339 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.7799, allocations: 77.67 kB / 0.934 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.78, allocations: 23.98 kB / 0.934 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007474/0.7807, allocations: 497 kB / 0.9345 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005242/0.7813, allocations: 364.3 kB / 0.9349 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009239/0.7822, allocations: 0.5774 MB / 0.9354 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.7822, allocations: 3.938 kB / 0.9354 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001158/0.7834, allocations: 0.7204 MB / 0.9361 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.7834, allocations: 8 kB / 0.9361 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.7834, allocations: 0 / 0.9361 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.7834, allocations: 4 kB / 0.9361 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.7839, allocations: 131.9 kB / 0.9363 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7839, allocations: 4 kB / 0.9363 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.7846, allocations: 63.55 kB / 0.9363 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.7846, allocations: 20 kB / 0.9364 GB, free: 9.305 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.0001617/0.7848, allocations: 216.1 kB / 0.9366 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.7849, allocations: 102.8 kB / 0.9367 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.7863, allocations: 0.7369 MB / 0.9374 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.7863, allocations: 8 kB / 0.9374 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7863, allocations: 0 / 0.9374 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.7874, allocations: 0.8994 MB / 0.9383 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.7905, allocations: 2.244 MB / 0.9405 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7905, allocations: 8.719 kB / 0.9405 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.7911, allocations: 139.8 kB / 0.9406 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.7911, allocations: 8 kB / 0.9406 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.7912, allocations: 16 kB / 0.9406 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.7912, allocations: 8.812 kB / 0.9406 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.7912, allocations: 7.938 kB / 0.9406 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.7929, allocations: 1.261 MB / 0.9419 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.7933, allocations: 263.7 kB / 0.9421 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.7934, allocations: 19.98 kB / 0.9421 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.794, allocations: 40.08 kB / 0.9422 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.7941, allocations: 56.27 kB / 0.9422 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.7942, allocations: 23.98 kB / 0.9423 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006846/0.7949, allocations: 0.5901 MB / 0.9428 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7949, allocations: 0 / 0.9428 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001094/0.796, allocations: 0.5299 MB / 0.9433 GB, free: 1.816 MB / 0.7012 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.002341/0.7983, allocations: 1.939 MB / 0.9452 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.8, allocations: 0.9432 MB / 0.9462 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8, allocations: 0 / 0.9462 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005211/0.8005, allocations: 338.2 kB / 0.9465 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.8029, allocations: 0.5992 MB / 0.9471 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/0.8122, allocations: 7.58 MB / 0.9545 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.8129, allocations: 1.124 MB / 0.9556 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009263/0.8138, allocations: 300.1 kB / 0.9559 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.8143, allocations: 419.3 kB / 0.9563 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of SimCode: time 6.42e-07/0.8144, allocations: 0 / 0.9563 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/0.8698, allocations: 29.88 MB / 0.9854 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/9.798, allocations: 13.27 kB / 0.9854 GB, free: 6.797 MB / 0.7481 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)