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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006834/0.0006834, allocations: 92.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007263/0.0007263, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.261/1.261, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6663/0.6663, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002978, allocations: 12 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.4811/0.6158, allocations: 234.5 MB / 0.7891 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.6263, allocations: 7.233 MB / 0.7961 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.6278, allocations: 43.69 kB / 0.7962 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.6295, allocations: 0.5789 MB / 0.7967 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.6343, allocations: 1.952 MB / 0.7986 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.6388, allocations: 1.862 MB / 0.8005 GB, free: 308 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004587/0.6434, allocations: 4.428 MB / 0.8048 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.6449, allocations: 0.9107 MB / 0.8057 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.6482, allocations: 1.564 MB / 0.8072 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.6501, allocations: 0.9588 MB / 0.8081 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.6504, allocations: 52 kB / 0.8082 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004637/0.655, allocations: 2.821 MB / 0.8109 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.6556, allocations: 394.6 kB / 0.8113 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.6567, allocations: 0.6546 MB / 0.812 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004131/0.6608, allocations: 2.73 MB / 0.8146 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6608, allocations: 0 / 0.8146 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6608, allocations: 0 / 0.8146 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.693e-05/0.6609, allocations: 4 kB / 0.8146 GB, free: 1.727 MB / 0.6231 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.002835/0.6637, allocations: 1.48 MB / 0.8161 GB, free: 196 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6638, allocations: 8.031 kB / 0.8161 GB, free: 188 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.664, allocations: 122.8 kB / 0.8162 GB, free: 56 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/0.6667, allocations: 426.2 kB / 0.8166 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.6684, allocations: 0.96 MB / 0.8175 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.6685, allocations: 61.94 kB / 0.8176 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.6686, allocations: 91.91 kB / 0.8177 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.6703, allocations: 0.8896 MB / 0.8186 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.6703, allocations: 0 / 0.8186 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.6704, allocations: 32 kB / 0.8186 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.6704, allocations: 26 kB / 0.8186 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.6722, allocations: 0.8276 MB / 0.8194 GB, free: 12.7 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.004701/0.6769, allocations: 3.644 MB / 0.823 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.6784, allocations: 1.098 MB / 0.8241 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.679, allocations: 382.3 kB / 0.8244 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000663/0.6797, allocations: 424.9 kB / 0.8248 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.6797, allocations: 39.12 kB / 0.8249 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.305e-06/0.6797, allocations: 0 / 0.8249 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002086/0.6818, allocations: 0.9897 MB / 0.8258 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6819, allocations: 59.97 kB / 0.8259 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.6829, allocations: 0.84 MB / 0.8267 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.683, allocations: 41.7 kB / 0.8267 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.6834, allocations: 480.1 kB / 0.8272 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.6836, allocations: 212.8 kB / 0.8274 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.6836, allocations: 53.69 kB / 0.8275 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6837, allocations: 329.9 kB / 0.8278 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.6842, allocations: 261 kB / 0.828 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.6848, allocations: 379.4 kB / 0.8284 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.6859, allocations: 0.6087 MB / 0.829 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6859, allocations: 8.078 kB / 0.829 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001322/0.6872, allocations: 0.7554 MB / 0.8297 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.6873, allocations: 120.4 kB / 0.8298 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.6873, allocations: 8.031 kB / 0.8298 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6873, allocations: 4 kB / 0.8298 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.6879, allocations: 127.9 kB / 0.83 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.6879, allocations: 7.984 kB / 0.83 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/0.6889, allocations: 135.4 kB / 0.8301 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.6889, allocations: 27.92 kB / 0.8301 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.689, allocations: 4 kB / 0.8301 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.6901, allocations: 0.634 MB / 0.8308 GB, free: 468 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6901, allocations: 3.938 kB / 0.8308 GB, free: 464 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.6901, allocations: 4 kB / 0.8308 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.6906, allocations: 127.8 kB / 0.8309 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6907, allocations: 4 kB / 0.8309 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/0.6916, allocations: 135.4 kB / 0.831 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.6916, allocations: 20 kB / 0.831 GB, free: 172 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2333/0.9249, allocations: 380.1 kB / 0.8314 GB, free: 234 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.9252, allocations: 103.3 kB / 0.8315 GB, free: 234 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.927, allocations: 0.7589 MB / 0.8322 GB, free: 233.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.927, allocations: 6.891 kB / 0.8322 GB, free: 233.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.927, allocations: 3.344 kB / 0.8322 GB, free: 233.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.9281, allocations: 0.9235 MB / 0.8331 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.9316, allocations: 2.27 MB / 0.8354 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.9317, allocations: 4.422 kB / 0.8354 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.9323, allocations: 143.5 kB / 0.8355 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.9323, allocations: 6.891 kB / 0.8355 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.9324, allocations: 22.52 kB / 0.8355 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.9324, allocations: 6.547 kB / 0.8355 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.9324, allocations: 6.906 kB / 0.8355 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.9343, allocations: 1.257 MB / 0.8368 GB, free: 232.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.9347, allocations: 257.5 kB / 0.837 GB, free: 232.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.9348, allocations: 20.11 kB / 0.837 GB, free: 232.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/0.9357, allocations: 102.4 kB / 0.8371 GB, free: 232.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.9358, allocations: 52.12 kB / 0.8372 GB, free: 232.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.9359, allocations: 24.03 kB / 0.8372 GB, free: 232.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000773/0.9367, allocations: 0.5837 MB / 0.8378 GB, free: 231.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9367, allocations: 0 / 0.8378 GB, free: 231.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001201/0.9379, allocations: 0.5378 MB / 0.8383 GB, free: 231.8 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.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 (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.002225/0.9401, allocations: 1.956 MB / 0.8402 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.9418, allocations: 0.9702 MB / 0.8412 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9418, allocations: 1.188 kB / 0.8412 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.9424, allocations: 350.8 kB / 0.8415 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/0.9456, allocations: 0.6188 MB / 0.8421 GB, free: 230.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.9566, allocations: 8.531 MB / 0.8504 GB, free: 225.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.9572, allocations: 1.128 MB / 0.8515 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001079/0.9583, allocations: 297.2 kB / 0.8518 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.9587, allocations: 412.5 kB / 0.8522 GB, free: 224.2 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.9587, allocations: 0 / 0.8522 GB, free: 224.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7786/1.737, allocations: 28.15 MB / 0.8797 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.738, allocations: 241.8 kB / 0.8799 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/4.265, allocations: 0 / 0.8799 GB, free: 206.3 MB / 0.6387 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/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)