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.005405/0.005405, allocations: 103.3 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.001205/0.001205, allocations: 190.1 kB / 16.67 MB, free: 5.961 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.751/0.751, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 71.31 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5913/0.7337, allocations: 239.9 MB / 0.8934 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.7449, allocations: 7.195 MB / 0.9004 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.7462, allocations: 51.69 kB / 0.9005 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.748, allocations: 0.6987 MB / 0.9012 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.7524, allocations: 2.068 MB / 0.9032 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.7566, allocations: 2.037 MB / 0.9052 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003305/0.7599, allocations: 3.258 MB / 0.9084 GB, free: 6.914 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.7612, allocations: 1.138 MB / 0.9095 GB, free: 5.758 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.7641, allocations: 1.818 MB / 0.9113 GB, free: 3.934 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.7655, allocations: 0.9782 MB / 0.9122 GB, free: 2.961 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.7657, allocations: 120 kB / 0.9123 GB, free: 2.844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.7694, allocations: 2.483 MB / 0.9147 GB, free: 364 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003884/0.7698, allocations: 466.7 kB / 0.9152 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006291/0.7704, allocations: 0.7232 MB / 0.9159 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.7734, allocations: 2.692 MB / 0.9185 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7734, allocations: 0 / 0.9185 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7734, allocations: 0 / 0.9185 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.7734, allocations: 0 / 0.9185 GB, free: 12.47 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.002328/0.7758, allocations: 1.709 MB / 0.9202 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.7758, allocations: 12.02 kB / 0.9202 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.7759, allocations: 122.8 kB / 0.9203 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.7784, allocations: 429.9 kB / 0.9207 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.7798, allocations: 1.015 MB / 0.9217 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.7799, allocations: 69.94 kB / 0.9218 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.78, allocations: 87.84 kB / 0.9219 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.7813, allocations: 0.8624 MB / 0.9227 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.7814, allocations: 4 kB / 0.9227 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.7814, allocations: 28 kB / 0.9227 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.7815, allocations: 33.98 kB / 0.9228 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.7828, allocations: 0.8042 MB / 0.9236 GB, free: 7.195 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.003978/0.7867, allocations: 3.647 MB / 0.9271 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.7881, allocations: 1.085 MB / 0.9282 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.7886, allocations: 380.7 kB / 0.9286 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.7893, allocations: 400.9 kB / 0.9289 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.7893, allocations: 47.06 kB / 0.929 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 1.654e-06/0.7893, allocations: 0 / 0.929 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.001862/0.7912, allocations: 0.9546 MB / 0.9299 GB, free: 212 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.7913, allocations: 59.97 kB / 0.93 GB, free: 140 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009516/0.7922, allocations: 0.8321 MB / 0.9308 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.7923, allocations: 45.7 kB / 0.9308 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.7926, allocations: 488.1 kB / 0.9313 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.7928, allocations: 212.8 kB / 0.9315 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.793, allocations: 110.2 kB / 0.9316 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7931, allocations: 333.9 kB / 0.9319 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.7935, allocations: 251 kB / 0.9322 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.7941, allocations: 380.2 kB / 0.9325 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009032/0.795, allocations: 0.5813 MB / 0.9331 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.795, allocations: 4 kB / 0.9331 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00114/0.7961, allocations: 0.7359 MB / 0.9338 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7962, allocations: 7.938 kB / 0.9338 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7962, allocations: 4 kB / 0.9338 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.7962, allocations: 4 kB / 0.9338 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.7967, allocations: 123.8 kB / 0.9339 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.7967, allocations: 4 kB / 0.9339 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.7974, allocations: 79.52 kB / 0.934 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.7974, allocations: 23.98 kB / 0.934 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006907/0.7981, allocations: 497 kB / 0.9345 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005011/0.7986, allocations: 368.3 kB / 0.9349 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008887/0.7995, allocations: 0.5735 MB / 0.9354 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.327e-06/0.7995, allocations: 3.938 kB / 0.9354 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001113/0.8007, allocations: 0.7165 MB / 0.9361 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.8007, allocations: 8.125 kB / 0.9361 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.8007, allocations: 4 kB / 0.9361 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.8007, allocations: 4 kB / 0.9361 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.8012, allocations: 131.8 kB / 0.9363 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.8012, allocations: 7.984 kB / 0.9363 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.8018, allocations: 59.55 kB / 0.9363 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.8019, allocations: 25.11 kB / 0.9364 GB, free: 9.41 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.0001561/0.8021, allocations: 224.1 kB / 0.9366 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.8022, allocations: 98.78 kB / 0.9367 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.8035, allocations: 0.7405 MB / 0.9374 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8035, allocations: 4 kB / 0.9374 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.8035, allocations: 0 / 0.9374 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/0.8045, allocations: 0.9072 MB / 0.9383 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.8076, allocations: 2.243 MB / 0.9405 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8076, allocations: 4 kB / 0.9405 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.8082, allocations: 135.8 kB / 0.9406 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.8082, allocations: 7.938 kB / 0.9406 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.8083, allocations: 19.98 kB / 0.9406 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.8083, allocations: 8.406 kB / 0.9406 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8083, allocations: 11.94 kB / 0.9407 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.8101, allocations: 1.261 MB / 0.9419 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.8104, allocations: 255.7 kB / 0.9421 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.8105, allocations: 16 kB / 0.9421 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.8111, allocations: 39.95 kB / 0.9422 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.8112, allocations: 52.31 kB / 0.9422 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.8113, allocations: 24 kB / 0.9423 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000707/0.812, allocations: 0.5823 MB / 0.9428 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.683e-06/0.812, allocations: 0 / 0.9428 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001118/0.8131, allocations: 0.5377 MB / 0.9433 GB, free: 1.926 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.002351/0.8155, allocations: 1.934 MB / 0.9452 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.8171, allocations: 0.9504 MB / 0.9462 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.8171, allocations: 0 / 0.9462 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.8176, allocations: 347.4 kB / 0.9465 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.8199, allocations: 0.5962 MB / 0.9471 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.8301, allocations: 7.572 MB / 0.9545 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/0.8309, allocations: 1.127 MB / 0.9556 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009179/0.8318, allocations: 300.1 kB / 0.9559 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.8324, allocations: 419.3 kB / 0.9563 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8324, allocations: 0 / 0.9563 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05484/0.8872, allocations: 29.89 MB / 0.9854 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/9.682, allocations: 12.16 kB / 0.9855 GB, free: 6.887 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)