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.0009081/0.0009081, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001007/0.001007, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7569/0.7569, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 9.219 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4853, allocations: 81.58 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2255/0.7108, allocations: 218.8 MB / 0.7968 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009524/0.7204, allocations: 6.786 MB / 0.8035 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.7215, allocations: 43.69 kB / 0.8035 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.7228, allocations: 468.9 kB / 0.804 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.7262, allocations: 1.538 MB / 0.8055 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.7298, allocations: 1.453 MB / 0.8069 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004203/0.734, allocations: 3.768 MB / 0.8106 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.7352, allocations: 0.8081 MB / 0.8113 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.738, allocations: 1.428 MB / 0.8127 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.7392, allocations: 0.9104 MB / 0.8136 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.7393, allocations: 48 kB / 0.8137 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.7423, allocations: 1.399 MB / 0.815 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.7427, allocations: 382.7 kB / 0.8154 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.743, allocations: 285.1 kB / 0.8157 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.745, allocations: 1.793 MB / 0.8174 GB, free: 8 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.745, allocations: 0 / 0.8174 GB, free: 8 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7451, allocations: 0 / 0.8174 GB, free: 8 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7451, allocations: 0 / 0.8174 GB, free: 8 kB / 0.6387 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.2842/1.029, allocations: 1.474 MB / 0.8189 GB, free: 222.6 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.029, allocations: 13.12 kB / 0.8189 GB, free: 222.6 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002218/1.03, allocations: 127.7 kB / 0.819 GB, free: 222.6 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/1.032, allocations: 432.1 kB / 0.8194 GB, free: 222.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/1.034, allocations: 0.9266 MB / 0.8203 GB, free: 222 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/1.034, allocations: 60.47 kB / 0.8204 GB, free: 222 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.034, allocations: 87.12 kB / 0.8205 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/1.036, allocations: 0.8626 MB / 0.8213 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/1.036, allocations: 1.734 kB / 0.8213 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/1.036, allocations: 34.66 kB / 0.8213 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/1.036, allocations: 31.19 kB / 0.8214 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/1.038, allocations: 0.8212 MB / 0.8222 GB, free: 221.3 MB / 0.6387 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.005216/1.043, allocations: 3.635 MB / 0.8257 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/1.044, allocations: 1.106 MB / 0.8268 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/1.045, allocations: 376.9 kB / 0.8272 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/1.046, allocations: 423.3 kB / 0.8276 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/1.046, allocations: 42.25 kB / 0.8276 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.956e-06/1.046, allocations: 0 / 0.8276 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002429/1.048, allocations: 0.9845 MB / 0.8286 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.048, allocations: 58.31 kB / 0.8286 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.049, allocations: 0.8364 MB / 0.8294 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.656e-05/1.05, allocations: 39.17 kB / 0.8295 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/1.05, allocations: 481.7 kB / 0.8299 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/1.05, allocations: 211.9 kB / 0.8301 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/1.05, allocations: 15.34 kB / 0.8302 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/1.05, allocations: 328.1 kB / 0.8305 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/1.051, allocations: 254.2 kB / 0.8307 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/1.051, allocations: 377.1 kB / 0.8311 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/1.052, allocations: 306.9 kB / 0.8314 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.052, allocations: 0 / 0.8314 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001394/1.053, allocations: 0.7454 MB / 0.8321 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/1.053, allocations: 123 kB / 0.8322 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.053, allocations: 1.375 kB / 0.8322 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.053, allocations: 5 kB / 0.8322 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/1.054, allocations: 134.4 kB / 0.8323 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.054, allocations: 3.844 kB / 0.8323 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/1.055, allocations: 119.1 kB / 0.8325 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/1.055, allocations: 24.08 kB / 0.8325 GB, free: 215 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/1.055, allocations: 4.312 kB / 0.8325 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/1.056, allocations: 0.6221 MB / 0.8331 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.056, allocations: 2.844 kB / 0.8331 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/1.056, allocations: 7.906 kB / 0.8331 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/1.057, allocations: 128.6 kB / 0.8332 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/1.057, allocations: 14.97 kB / 0.8332 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/1.057, allocations: 122.2 kB / 0.8334 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/1.057, allocations: 19.09 kB / 0.8334 GB, free: 214.7 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004882/1.058, allocations: 382.8 kB / 0.8337 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.058, allocations: 100.8 kB / 0.8338 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.06, allocations: 0.7621 MB / 0.8346 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.06, allocations: 12.92 kB / 0.8346 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.06, allocations: 4.984 kB / 0.8346 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/1.061, allocations: 0.919 MB / 0.8355 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/1.064, allocations: 2.251 MB / 0.8377 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.064, allocations: 2.844 kB / 0.8377 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/1.064, allocations: 142.2 kB / 0.8378 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/1.064, allocations: 6.656 kB / 0.8378 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/1.064, allocations: 21.98 kB / 0.8379 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.064, allocations: 8.906 kB / 0.8379 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.065, allocations: 4.281 kB / 0.8379 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.066, allocations: 1.288 MB / 0.8391 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/1.067, allocations: 257.2 kB / 0.8394 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.067, allocations: 19.17 kB / 0.8394 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.067, allocations: 105 kB / 0.8395 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/1.068, allocations: 54.69 kB / 0.8395 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/1.068, allocations: 29.36 kB / 0.8396 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007509/1.068, allocations: 0.5764 MB / 0.8401 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.068, allocations: 0 / 0.8401 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001518/1.07, allocations: 0.5275 MB / 0.8407 GB, free: 210 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/1.072, allocations: 1.986 MB / 0.8426 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.074, allocations: 0.9641 MB / 0.8435 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.074, allocations: 1.094 kB / 0.8435 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006887/1.075, allocations: 346.3 kB / 0.8439 GB, free: 208 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.078, allocations: 0.6189 MB / 0.8445 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/1.087, allocations: 6.277 MB / 0.8506 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/1.087, allocations: 1.122 MB / 0.8517 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001121/1.088, allocations: 304.1 kB / 0.852 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/1.089, allocations: 415.3 kB / 0.8524 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/1.089, allocations: 0 / 0.8524 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/1.131, allocations: 28.83 MB / 0.8805 GB, free: 173.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001243/1.131, allocations: 217.5 kB / 0.8807 GB, free: 173.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.516, allocations: 0 / 0.8807 GB, free: 173.3 MB / 0.6387 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/linux/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) Environment - environmentSimulation: