Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_9_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.0008159/0.000816, allocations: 91.84 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.0008395/0.0008399, 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.403/1.403, allocations: 223.2 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003535, allocations: 15.98 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7187, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2215/0.9402, allocations: 218.8 MB / 1.168 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.9506, allocations: 6.809 MB / 1.174 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.9521, allocations: 47.69 kB / 1.174 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.9535, allocations: 460.9 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.9576, allocations: 1.539 MB / 1.176 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00476/0.9623, allocations: 1.451 MB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005455/0.9678, allocations: 3.772 MB / 1.181 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.9692, allocations: 0.8042 MB / 1.182 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.9729, allocations: 1.443 MB / 1.183 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.9745, allocations: 0.9143 MB / 1.184 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.9746, allocations: 48 kB / 1.184 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.9779, allocations: 1.384 MB / 1.186 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.9783, allocations: 378.8 kB / 1.186 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.9788, allocations: 289 kB / 1.186 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.9812, allocations: 1.793 MB / 1.188 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9812, allocations: 0 / 1.188 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9813, allocations: 0 / 1.188 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.687e-05/0.9813, allocations: 0 / 1.188 GB, free: 15.57 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.002815/0.9841, allocations: 1.491 MB / 1.19 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.9842, allocations: 8.031 kB / 1.19 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.9843, allocations: 126.8 kB / 1.19 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.9869, allocations: 429.9 kB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.9886, allocations: 0.9218 MB / 1.191 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.9887, allocations: 62 kB / 1.191 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.9888, allocations: 80 kB / 1.191 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.9903, allocations: 0.8702 MB / 1.192 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.9903, allocations: 0 / 1.192 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.9904, allocations: 39.95 kB / 1.192 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.9905, allocations: 29.94 kB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.9919, allocations: 0.8237 MB / 1.193 GB, free: 10.59 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.004356/0.9962, allocations: 3.647 MB / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.9976, allocations: 1.1 MB / 1.198 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.9982, allocations: 383.4 kB / 1.198 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006461/0.9989, allocations: 420.9 kB / 1.198 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.9989, allocations: 39.12 kB / 1.198 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 3.266e-06/0.9989, allocations: 0 / 1.198 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.001983/1.001, allocations: 0.9896 MB / 1.199 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.001, allocations: 59.97 kB / 1.199 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.002, allocations: 0.8243 MB / 1.2 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/1.002, allocations: 37.7 kB / 1.2 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/1.003, allocations: 484.2 kB / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.003, allocations: 212.8 kB / 1.201 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/1.003, allocations: 16 kB / 1.201 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.003, allocations: 329.9 kB / 1.201 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/1.003, allocations: 257 kB / 1.201 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/1.004, allocations: 367.5 kB / 1.202 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/1.004, allocations: 306 kB / 1.202 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.004, allocations: 0 / 1.202 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001245/1.006, allocations: 0.7477 MB / 1.203 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/1.006, allocations: 118.7 kB / 1.203 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.006, allocations: 96 / 1.203 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.006, allocations: 8 kB / 1.203 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/1.006, allocations: 131.8 kB / 1.203 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.006, allocations: 4 kB / 1.203 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/1.007, allocations: 139.3 kB / 1.203 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/1.007, allocations: 27.94 kB / 1.203 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-06/1.007, allocations: 5.875 kB / 1.203 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001081/1.008, allocations: 0.6262 MB / 1.204 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/1.008, allocations: 4.031 kB / 1.204 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/1.008, allocations: 4 kB / 1.204 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/1.009, allocations: 131.9 kB / 1.204 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.009, allocations: 7.938 kB / 1.204 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/1.01, allocations: 127.4 kB / 1.204 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/1.01, allocations: 24 kB / 1.204 GB, free: 14.48 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.00048/1.01, allocations: 384.9 kB / 1.205 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.01, allocations: 110.7 kB / 1.205 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/1.012, allocations: 0.7665 MB / 1.205 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.012, allocations: 4 kB / 1.205 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.012, allocations: 3.938 kB / 1.205 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.013, allocations: 0.9189 MB / 1.206 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/1.016, allocations: 2.267 MB / 1.208 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.016, allocations: 4 kB / 1.208 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/1.017, allocations: 135.9 kB / 1.209 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.017, allocations: 4 kB / 1.209 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/1.017, allocations: 31.88 kB / 1.209 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/1.017, allocations: 4.281 kB / 1.209 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.017, allocations: 8 kB / 1.209 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.019, allocations: 1.253 MB / 1.21 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/1.019, allocations: 263.6 kB / 1.21 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.019, allocations: 16 kB / 1.21 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/1.02, allocations: 101.6 kB / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/1.02, allocations: 52.25 kB / 1.21 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/1.02, allocations: 20 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007243/1.021, allocations: 0.5784 MB / 1.211 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.021, allocations: 4 kB / 1.211 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001177/1.022, allocations: 0.5377 MB / 1.211 GB, free: 6.699 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.002355/1.024, allocations: 1.936 MB / 1.213 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001639/1.026, allocations: 0.9585 MB / 1.214 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.026, allocations: 4.312 kB / 1.214 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/1.027, allocations: 350.2 kB / 1.215 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.029, allocations: 0.6217 MB / 1.215 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009831/1.039, allocations: 6.298 MB / 1.221 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008148/1.04, allocations: 1.128 MB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00128/1.041, allocations: 296.1 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/1.042, allocations: 415.3 kB / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of SimCode: time 1.433e-06/1.042, allocations: 0 / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5337/1.576, allocations: 28.82 MB / 1.251 GB, free: 280.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.576, allocations: 224.7 kB / 1.251 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/4.063, allocations: 0 / 1.251 GB, free: 280.3 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat does not exist to compare? outputFormat=mat