Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.001015/0.001015, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001261/0.001261, allocations: 168.7 kB / 15.95 MB, free: 204 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.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.324 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.407/2.407, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003504, allocations: 15.94 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8057/0.806, allocations: 142.3 MB / 0.9538 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.2387/1.045, allocations: 218.8 MB / 1.168 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01214/1.057, allocations: 6.803 MB / 1.174 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/1.059, allocations: 43.69 kB / 1.174 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/1.06, allocations: 341.7 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003168/1.063, allocations: 1.007 MB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/1.067, allocations: 1.25 MB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003313/1.071, allocations: 2.353 MB / 1.179 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.072, allocations: 0.6169 MB / 1.18 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/1.075, allocations: 1.175 MB / 1.181 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/1.076, allocations: 0.6498 MB / 1.181 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/1.076, allocations: 47.94 kB / 1.182 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/1.079, allocations: 1.072 MB / 1.183 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003016/1.079, allocations: 275.1 kB / 1.183 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003052/1.079, allocations: 193.2 kB / 1.183 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/1.081, allocations: 1.142 MB / 1.184 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.081, allocations: 0 / 1.184 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/1.081, allocations: 0 / 1.184 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.081, allocations: 0 / 1.184 GB, free: 3.742 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001947/1.083, allocations: 1.164 MB / 1.185 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.083, allocations: 12.03 kB / 1.185 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/1.083, allocations: 90.52 kB / 1.185 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/1.085, allocations: 290.6 kB / 1.186 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/1.086, allocations: 0.6289 MB / 1.186 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/1.086, allocations: 37 kB / 1.186 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.306e-05/1.086, allocations: 55.91 kB / 1.186 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.087, allocations: 0.6154 MB / 1.187 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.087, allocations: 3.953 kB / 1.187 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/1.087, allocations: 16 kB / 1.187 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.087, allocations: 12 kB / 1.187 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/1.088, allocations: 0.6285 MB / 1.188 GB, free: 84 kB / 0.9356 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.003538/1.092, allocations: 2.63 MB / 1.19 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/1.092, allocations: 495.6 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/1.093, allocations: 321.4 kB / 1.191 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/1.094, allocations: 420.7 kB / 1.191 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.094, allocations: 41.94 kB / 1.191 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007105/1.094, allocations: 191.4 kB / 1.192 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/1.094, allocations: 0 / 1.192 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002583/1.097, allocations: 1.116 MB / 1.193 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/1.097, allocations: 63.41 kB / 1.193 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/1.098, allocations: 0.6452 MB / 1.193 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/1.098, allocations: 37.7 kB / 1.193 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/1.098, allocations: 341.1 kB / 1.194 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.098, allocations: 161.7 kB / 1.194 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/1.098, allocations: 4 kB / 1.194 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/1.099, allocations: 322 kB / 1.194 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/1.099, allocations: 228.7 kB / 1.194 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/1.099, allocations: 324.3 kB / 1.195 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/1.1, allocations: 256.6 kB / 1.195 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.1, allocations: 0 / 1.195 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001416/1.101, allocations: 0.7339 MB / 1.196 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/1.101, allocations: 108.5 kB / 1.196 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.101, allocations: 0 / 1.196 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/1.102, allocations: 92.77 kB / 1.196 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/1.102, allocations: 95.88 kB / 1.196 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004826/1.103, allocations: 0.6187 MB / 1.197 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/1.104, allocations: 71.91 kB / 1.197 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/1.104, allocations: 19.98 kB / 1.197 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/1.104, allocations: 4 kB / 1.197 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/1.105, allocations: 0.5927 MB / 1.197 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.105, allocations: 7.953 kB / 1.197 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/1.105, allocations: 64.84 kB / 1.197 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/1.105, allocations: 99.86 kB / 1.197 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/1.107, allocations: 1.686 MB / 1.199 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/1.108, allocations: 59.92 kB / 1.199 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/1.108, allocations: 23.97 kB / 1.199 GB, free: 3.68 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004027/1.108, allocations: 297 kB / 1.199 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/1.108, allocations: 79.06 kB / 1.199 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/1.11, allocations: 0.7698 MB / 1.2 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.11, allocations: 4 kB / 1.2 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/1.11, allocations: 0 / 1.2 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/1.11, allocations: 3.984 kB / 1.2 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/1.113, allocations: 1.693 MB / 1.202 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.113, allocations: 0 / 1.202 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/1.113, allocations: 88.3 kB / 1.202 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/1.113, allocations: 76.73 kB / 1.202 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/1.113, allocations: 12 kB / 1.202 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004089/1.114, allocations: 0.6148 MB / 1.203 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.114, allocations: 11.89 kB / 1.203 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/1.116, allocations: 1.188 MB / 1.204 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/1.116, allocations: 208.1 kB / 1.204 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/1.116, allocations: 11.98 kB / 1.204 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/1.117, allocations: 71.78 kB / 1.204 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.117, allocations: 43.84 kB / 1.204 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/1.117, allocations: 20 kB / 1.204 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006189/1.117, allocations: 463 kB / 1.205 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.117, allocations: 0 / 1.205 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001155/1.119, allocations: 371.4 kB / 1.205 GB, free: 13.46 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002597/1.121, allocations: 1.834 MB / 1.207 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001946/1.123, allocations: 0.9865 MB / 1.208 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.123, allocations: 0 / 1.208 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/1.124, allocations: 312.2 kB / 1.208 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.126, allocations: 468.8 kB / 1.208 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.136, allocations: 4.952 MB / 1.213 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/1.137, allocations: 0.9698 MB / 1.214 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001228/1.138, allocations: 225.9 kB / 1.214 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/1.139, allocations: 283.3 kB / 1.215 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of SimCode: time 1.473e-06/1.139, allocations: 0 / 1.215 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04417/1.183, allocations: 22.64 MB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.183, allocations: 270.4 kB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/3.5, allocations: 64 / 1.237 GB, free: 12.74 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat does not exist to compare? outputFormat=mat