Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_Buildings_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.001504/0.001504, allocations: 99.86 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.002317/0.002317, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.618/2.618, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.534/4.534, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008975/0.0008981, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728/1.729, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.4781/2.207, allocations: 196.6 MB / 1.173 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02619/2.233, allocations: 7.247 MB / 1.18 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/2.236, allocations: 43.69 kB / 1.18 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003685/2.239, allocations: 0.6688 MB / 1.181 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/2.25, allocations: 1.94 MB / 1.183 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008033/2.258, allocations: 1.616 MB / 1.184 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006997/2.265, allocations: 1.873 MB / 1.186 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/2.268, allocations: 0.8278 MB / 1.187 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006533/2.275, allocations: 1.421 MB / 1.188 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/2.278, allocations: 0.6069 MB / 1.189 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004076/2.278, allocations: 56 kB / 1.189 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005425/2.283, allocations: 1.069 MB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008937/2.284, allocations: 347 kB / 1.19 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/2.285, allocations: 289 kB / 1.19 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004944/2.29, allocations: 1.606 MB / 1.192 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/2.29, allocations: 0 / 1.192 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.961e-06/2.29, allocations: 0 / 1.192 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.135e-05/2.291, allocations: 0 / 1.192 GB, free: 13.6 MB / 0.9512 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.004924/2.295, allocations: 1.444 MB / 1.193 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.946e-05/2.296, allocations: 8.031 kB / 1.193 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003151/2.296, allocations: 126.8 kB / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/2.3, allocations: 433.9 kB / 1.194 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/2.304, allocations: 0.9257 MB / 1.195 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/2.304, allocations: 62 kB / 1.195 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/2.304, allocations: 91.86 kB / 1.195 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/2.307, allocations: 0.8585 MB / 1.196 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/2.307, allocations: 0 / 1.196 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/2.307, allocations: 36 kB / 1.196 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/2.307, allocations: 26 kB / 1.196 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/2.31, allocations: 0.8198 MB / 1.197 GB, free: 8.668 MB / 0.9512 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.009363/2.319, allocations: 3.647 MB / 1.2 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/2.322, allocations: 1.119 MB / 1.201 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/2.322, allocations: 157.5 kB / 1.201 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/2.323, allocations: 43.11 kB / 1.202 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 4.999e-06/2.323, allocations: 0 / 1.202 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.003871/2.326, allocations: 0.978 MB / 1.202 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/2.327, allocations: 55.97 kB / 1.203 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/2.329, allocations: 0.8282 MB / 1.203 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/2.329, allocations: 41.7 kB / 1.203 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007938/2.33, allocations: 484.1 kB / 1.204 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004881/2.33, allocations: 216.8 kB / 1.204 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/2.33, allocations: 12 kB / 1.204 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00046/2.331, allocations: 333.9 kB / 1.204 GB, free: 296 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/2.332, allocations: 256.9 kB / 1.205 GB, free: 36 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/2.333, allocations: 367.5 kB / 1.205 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/2.334, allocations: 302.1 kB / 1.205 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/2.334, allocations: 3.938 kB / 1.205 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002654/2.337, allocations: 0.74 MB / 1.206 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.00055/2.337, allocations: 455.3 kB / 1.206 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.337, allocations: 0 / 1.206 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/2.337, allocations: 8 kB / 1.206 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/2.339, allocations: 135.8 kB / 1.207 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/2.339, allocations: 4.094 kB / 1.207 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/2.341, allocations: 135.3 kB / 1.207 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/2.341, allocations: 31.98 kB / 1.207 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/2.341, allocations: 0 / 1.207 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002289/2.343, allocations: 0.6183 MB / 1.207 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2.343, allocations: 4 kB / 1.207 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/2.343, allocations: 4 kB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/2.344, allocations: 143.9 kB / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/2.344, allocations: 7.953 kB / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/2.346, allocations: 127.4 kB / 1.208 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/2.346, allocations: 23.98 kB / 1.208 GB, free: 12.89 MB / 0.9669 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.001342/2.348, allocations: 376.9 kB / 1.208 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/2.348, allocations: 102.8 kB / 1.208 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/2.351, allocations: 0.7664 MB / 1.209 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/2.351, allocations: 12 kB / 1.209 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/2.351, allocations: 3.953 kB / 1.209 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/2.353, allocations: 0.9229 MB / 1.21 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007245/2.361, allocations: 2.259 MB / 1.212 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/2.361, allocations: 8.406 kB / 1.212 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/2.362, allocations: 143.8 kB / 1.212 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/2.362, allocations: 8 kB / 1.212 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.866e-05/2.362, allocations: 16 kB / 1.212 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-05/2.362, allocations: 7.984 kB / 1.212 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/2.362, allocations: 7.938 kB / 1.212 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/2.366, allocations: 1.417 MB / 1.214 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/2.368, allocations: 263.7 kB / 1.214 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/2.368, allocations: 16 kB / 1.214 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/2.369, allocations: 95.84 kB / 1.214 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/2.369, allocations: 52.27 kB / 1.214 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003339/2.37, allocations: 24 kB / 1.214 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001737/2.371, allocations: 0.5705 MB / 1.215 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/2.372, allocations: 0 / 1.215 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002587/2.374, allocations: 0.5455 MB / 1.215 GB, free: 4.879 MB / 0.9669 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.006742/2.381, allocations: 2.982 MB / 1.218 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003971/2.385, allocations: 0.9586 MB / 1.219 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/2.385, allocations: 4.312 kB / 1.219 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/2.386, allocations: 346.2 kB / 1.219 GB, free: 496 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/2.391, allocations: 0.6172 MB / 1.22 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/2.414, allocations: 6.824 MB / 1.226 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/2.416, allocations: 1.143 MB / 1.228 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002656/2.419, allocations: 304.1 kB / 1.228 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/2.42, allocations: 419.2 kB / 1.228 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of SimCode: time 2.084e-06/2.42, allocations: 0 / 1.228 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.239/3.658, allocations: 28.77 MB / 1.256 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004819/3.659, allocations: 226.9 kB / 1.257 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.673/8.332, allocations: 3.938 kB / 1.257 GB, free: 266.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat does not exist to compare? outputFormat=mat