Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_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.001087/0.001087, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001497/0.001497, allocations: 177.3 kB / 15.94 MB, free: 228 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.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.086/1.086, allocations: 143.3 MB / 434.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 83.42 MB / 0.5973 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6632/0.889, allocations: 196.7 MB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.903, allocations: 7.263 MB / 0.7965 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.9052, allocations: 43.69 kB / 0.7966 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.908, allocations: 0.6649 MB / 0.7972 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007446/0.9155, allocations: 1.937 MB / 0.7991 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005071/0.9206, allocations: 1.615 MB / 0.8007 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004272/0.9249, allocations: 1.878 MB / 0.8025 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.9264, allocations: 0.835 MB / 0.8033 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.9307, allocations: 1.421 MB / 0.8047 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.9323, allocations: 0.6107 MB / 0.8053 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.9324, allocations: 55.94 kB / 0.8054 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.9359, allocations: 1.061 MB / 0.8064 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.9364, allocations: 351 kB / 0.8067 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.9369, allocations: 293 kB / 0.807 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.9393, allocations: 1.7 MB / 0.8087 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9394, allocations: 0 / 0.8087 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9394, allocations: 0 / 0.8087 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.9394, allocations: 0 / 0.8087 GB, free: 3.332 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.00322/0.9426, allocations: 1.439 MB / 0.8101 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.9427, allocations: 8.031 kB / 0.8101 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/0.9429, allocations: 127.3 kB / 0.8102 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.9457, allocations: 434 kB / 0.8106 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.9477, allocations: 0.9373 MB / 0.8116 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.9477, allocations: 58.56 kB / 0.8116 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.9479, allocations: 84 kB / 0.8117 GB, free: 160 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.9495, allocations: 0.8663 MB / 0.8125 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.9496, allocations: 4 kB / 0.8125 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.9497, allocations: 28 kB / 0.8126 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.9497, allocations: 30 kB / 0.8126 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.9512, allocations: 0.8198 MB / 0.8134 GB, free: 14.4 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.005559/0.9568, allocations: 3.648 MB / 0.817 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.9584, allocations: 1.118 MB / 0.818 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.9588, allocations: 149.6 kB / 0.8182 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.9588, allocations: 39.12 kB / 0.8182 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 3.527e-06/0.9588, allocations: 0 / 0.8182 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002228/0.9611, allocations: 0.9858 MB / 0.8192 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.9611, allocations: 59.97 kB / 0.8192 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.9622, allocations: 0.8282 MB / 0.8201 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.9623, allocations: 41.7 kB / 0.8201 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.9627, allocations: 484.1 kB / 0.8206 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.9629, allocations: 216.8 kB / 0.8208 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.9629, allocations: 15.94 kB / 0.8208 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9631, allocations: 322 kB / 0.8211 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.9635, allocations: 257 kB / 0.8213 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.9641, allocations: 371.5 kB / 0.8217 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.9647, allocations: 306 kB / 0.822 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9647, allocations: 4 kB / 0.822 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001307/0.966, allocations: 0.736 MB / 0.8227 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.9662, allocations: 455.9 kB / 0.8231 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.9662, allocations: 96 / 0.8231 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.9662, allocations: 7.938 kB / 0.8231 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.9668, allocations: 131.8 kB / 0.8233 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.9668, allocations: 11.69 kB / 0.8233 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.9678, allocations: 143.3 kB / 0.8234 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.9679, allocations: 20 kB / 0.8234 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.9679, allocations: 4 kB / 0.8234 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.9691, allocations: 0.6261 MB / 0.824 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.9691, allocations: 0 / 0.824 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.9691, allocations: 4 kB / 0.8241 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.9696, allocations: 131.9 kB / 0.8242 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.9696, allocations: 4 kB / 0.8242 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.9705, allocations: 135.4 kB / 0.8243 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.9706, allocations: 23.98 kB / 0.8243 GB, free: 2.633 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.0005676/0.9712, allocations: 380.9 kB / 0.8247 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.9713, allocations: 102.7 kB / 0.8248 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.9727, allocations: 0.7587 MB / 0.8255 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.9727, allocations: 8 kB / 0.8255 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9727, allocations: 4 kB / 0.8255 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/0.9739, allocations: 0.9267 MB / 0.8265 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.9774, allocations: 2.26 MB / 0.8287 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.9775, allocations: 3.938 kB / 0.8287 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.9781, allocations: 148.2 kB / 0.8288 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.9781, allocations: 7.953 kB / 0.8288 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.9782, allocations: 16 kB / 0.8288 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.9782, allocations: 10.06 kB / 0.8288 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.9782, allocations: 15.86 kB / 0.8289 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.9803, allocations: 1.402 MB / 0.8302 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006991/0.981, allocations: 259.7 kB / 0.8305 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.9812, allocations: 19.98 kB / 0.8305 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008481/0.982, allocations: 104.9 kB / 0.8306 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.9821, allocations: 52.27 kB / 0.8306 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.9822, allocations: 20 kB / 0.8307 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009605/0.9832, allocations: 0.5784 MB / 0.8312 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9832, allocations: 0 / 0.8312 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001578/0.9848, allocations: 0.5299 MB / 0.8317 GB, free: 10.65 MB / 0.6544 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 (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.003223/0.988, allocations: 2.994 MB / 0.8347 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.9899, allocations: 0.951 MB / 0.8356 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9899, allocations: 4 kB / 0.8356 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.9905, allocations: 359 kB / 0.8359 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.9937, allocations: 0.6075 MB / 0.8365 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.005, allocations: 6.825 MB / 0.8432 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.006, allocations: 1.147 MB / 0.8443 GB, free: 13.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001249/1.007, allocations: 302.5 kB / 0.8446 GB, free: 13.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/1.008, allocations: 419.3 kB / 0.845 GB, free: 12.69 MB / 0.67 GB Notification: Performance of SimCode: time 1.523e-06/1.008, allocations: 0 / 0.845 GB, free: 12.69 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3756/1.384, allocations: 28.85 MB / 0.8732 GB, free: 201.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.384, allocations: 233.8 kB / 0.8734 GB, free: 200.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.86, allocations: 4 kB / 0.8734 GB, free: 200.8 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: