Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5845/0.5845, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 223.1 MB / 354.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009775, allocations: 92.33 kB / 427.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 8 kB / 0.4983 GB, free: 41.99 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 72.3 MB / 0.5689 GB, free: 1.621 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.961/5.158, allocations: 1.881 GB / 2.45 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/5.159, allocations: 94.23 kB / 2.45 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.758/8.916, allocations: 0.9315 GB / 3.382 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.318e-06/8.916, allocations: 3.938 kB / 3.382 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002744/8.917, allocations: 38.72 kB / 3.382 GB, free: 4.168 MB / 0.6198 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.006521/8.923, allocations: 1.759 MB / 3.384 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/8.923, allocations: 11.97 kB / 3.384 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00049/8.924, allocations: 134.8 kB / 3.384 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/8.927, allocations: 421.9 kB / 3.384 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/8.931, allocations: 1.078 MB / 3.385 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/8.931, allocations: 62 kB / 3.385 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/8.931, allocations: 84 kB / 3.385 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/8.933, allocations: 0.8429 MB / 3.386 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/8.933, allocations: 0 / 3.386 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/8.933, allocations: 36 kB / 3.386 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/8.933, allocations: 26 kB / 3.386 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/8.934, allocations: 0.8002 MB / 3.387 GB, free: 14.82 MB / 0.6355 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.006016/8.94, allocations: 3.674 MB / 3.391 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/8.942, allocations: 1.101 MB / 3.392 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/8.943, allocations: 408.9 kB / 3.392 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/8.943, allocations: 43.06 kB / 3.392 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 4.258e-06/8.943, allocations: 0 / 3.392 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.002662/8.946, allocations: 1.017 MB / 3.393 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/8.946, allocations: 55.97 kB / 3.393 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/8.947, allocations: 0.7218 MB / 3.394 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/8.947, allocations: 41.7 kB / 3.394 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/8.948, allocations: 480.2 kB / 3.394 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/8.948, allocations: 212.8 kB / 3.394 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/8.948, allocations: 20 kB / 3.395 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001821/8.948, allocations: 326 kB / 3.395 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/8.949, allocations: 264.9 kB / 3.395 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/8.95, allocations: 407.7 kB / 3.395 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/8.95, allocations: 321.8 kB / 3.396 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/8.95, allocations: 0 / 3.396 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001718/8.952, allocations: 0.7633 MB / 3.397 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/8.952, allocations: 455.3 kB / 3.397 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/8.952, allocations: 4 kB / 3.397 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/8.952, allocations: 7.938 kB / 3.397 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/8.953, allocations: 135.9 kB / 3.397 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/8.953, allocations: 11.89 kB / 3.397 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/8.955, allocations: 135.4 kB / 3.397 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/8.955, allocations: 27.98 kB / 3.397 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/8.955, allocations: 5.562 kB / 3.397 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/8.956, allocations: 0.6456 MB / 3.398 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/8.956, allocations: 0 / 3.398 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/8.956, allocations: 12.06 kB / 3.398 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/8.956, allocations: 135.8 kB / 3.398 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/8.957, allocations: 4 kB / 3.398 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/8.958, allocations: 139.3 kB / 3.398 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/8.958, allocations: 20 kB / 3.398 GB, free: 2.676 MB / 0.6355 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.0008521/8.958, allocations: 388.9 kB / 3.399 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/8.959, allocations: 102.8 kB / 3.399 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/8.96, allocations: 0.8016 MB / 3.399 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/8.96, allocations: 4 kB / 3.399 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/8.96, allocations: 0 / 3.399 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/8.961, allocations: 0.9541 MB / 3.4 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5459/9.507, allocations: 2.27 MB / 3.403 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/9.507, allocations: 3.75 kB / 3.403 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/9.508, allocations: 148.9 kB / 3.403 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/9.508, allocations: 11.16 kB / 3.403 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/9.508, allocations: 17.75 kB / 3.403 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/9.508, allocations: 6.812 kB / 3.403 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/9.508, allocations: 5.531 kB / 3.403 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/9.511, allocations: 1.411 MB / 3.404 GB, free: 80.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/9.512, allocations: 259 kB / 3.404 GB, free: 80.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/9.512, allocations: 21.28 kB / 3.404 GB, free: 80.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/9.513, allocations: 129.5 kB / 3.405 GB, free: 80.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/9.513, allocations: 45.17 kB / 3.405 GB, free: 80.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/9.513, allocations: 28.11 kB / 3.405 GB, free: 80.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001163/9.514, allocations: 0.5736 MB / 3.405 GB, free: 80.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/9.514, allocations: 0 / 3.405 GB, free: 80.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003209/9.518, allocations: 0.7696 MB / 3.406 GB, free: 80.15 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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 (63): * Single equations (assignments): 63 * 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.007524/9.525, allocations: 5.057 MB / 3.411 GB, free: 77.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002495/9.528, allocations: 0.9838 MB / 3.412 GB, free: 77.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/9.528, allocations: 1.094 kB / 3.412 GB, free: 77.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007479/9.528, allocations: 358.7 kB / 3.412 GB, free: 77.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/9.532, allocations: 0.6832 MB / 3.413 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/9.542, allocations: 6.901 MB / 3.42 GB, free: 74.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/9.543, allocations: 1.146 MB / 3.421 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00145/9.544, allocations: 287.7 kB / 3.421 GB, free: 74.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/9.545, allocations: 416.8 kB / 3.421 GB, free: 74.14 MB / 0.6355 GB Notification: Performance of SimCode: time 1.874e-06/9.545, allocations: 0 / 3.421 GB, free: 74.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/9.677, allocations: 63.45 MB / 3.483 GB, free: 72.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/9.678, allocations: 218.1 kB / 3.484 GB, free: 72.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.343/14.02, allocations: 0 / 3.484 GB, free: 72.24 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)