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.001225/0.001225, allocations: 91.45 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.001142/0.001142, 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.702/2.702, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8542, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2559/1.11, allocations: 218.8 MB / 1.195 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01122/1.121, allocations: 6.811 MB / 1.201 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/1.123, allocations: 43.69 kB / 1.202 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/1.125, allocations: 464.9 kB / 1.202 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004765/1.13, allocations: 1.535 MB / 1.203 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/1.134, allocations: 1.452 MB / 1.205 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005684/1.14, allocations: 3.768 MB / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/1.142, allocations: 0.812 MB / 1.209 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/1.146, allocations: 1.428 MB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/1.147, allocations: 0.9104 MB / 1.212 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/1.148, allocations: 48 kB / 1.212 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/1.151, allocations: 1.387 MB / 1.213 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005434/1.152, allocations: 382.7 kB / 1.213 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005429/1.152, allocations: 285.1 kB / 1.214 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/1.155, allocations: 1.796 MB / 1.215 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.155, allocations: 4 kB / 1.215 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/1.155, allocations: 0 / 1.215 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.155, allocations: 0 / 1.215 GB, free: 5.664 MB / 0.9669 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.002698/1.158, allocations: 1.487 MB / 1.217 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.158, allocations: 8.031 kB / 1.217 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/1.158, allocations: 126.8 kB / 1.217 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/1.161, allocations: 429.9 kB / 1.217 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/1.162, allocations: 0.9219 MB / 1.218 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/1.162, allocations: 58 kB / 1.218 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.162, allocations: 91.86 kB / 1.218 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/1.164, allocations: 0.874 MB / 1.219 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/1.164, allocations: 0 / 1.219 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/1.164, allocations: 32 kB / 1.219 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/1.164, allocations: 29.94 kB / 1.219 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/1.166, allocations: 0.8237 MB / 1.22 GB, free: 0.6836 MB / 0.9669 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.005205/1.171, allocations: 3.655 MB / 1.224 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/1.173, allocations: 1.103 MB / 1.225 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/1.173, allocations: 371.9 kB / 1.225 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007268/1.174, allocations: 424.9 kB / 1.226 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/1.174, allocations: 43.12 kB / 1.226 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/1.174, allocations: 0 / 1.226 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60): time 0.002142/1.176, allocations: 0.9818 MB / 1.227 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/1.176, allocations: 63.97 kB / 1.227 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/1.177, allocations: 0.8243 MB / 1.227 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/1.177, allocations: 45.7 kB / 1.228 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/1.178, allocations: 480.2 kB / 1.228 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/1.178, allocations: 208.8 kB / 1.228 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/1.178, allocations: 16 kB / 1.228 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.178, allocations: 326 kB / 1.228 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/1.179, allocations: 257 kB / 1.229 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/1.179, allocations: 375.4 kB / 1.229 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/1.18, allocations: 302.1 kB / 1.229 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.18, allocations: 0 / 1.229 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001341/1.181, allocations: 0.7399 MB / 1.23 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/1.181, allocations: 122.8 kB / 1.23 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.181, allocations: 0 / 1.23 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.181, allocations: 7.953 kB / 1.23 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/1.182, allocations: 139.8 kB / 1.23 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.182, allocations: 4 kB / 1.23 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/1.183, allocations: 131.3 kB / 1.23 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/1.183, allocations: 23.98 kB / 1.231 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/1.183, allocations: 4.938 kB / 1.231 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/1.184, allocations: 0.6261 MB / 1.231 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.184, allocations: 7.938 kB / 1.231 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/1.184, allocations: 4 kB / 1.231 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/1.185, allocations: 131.9 kB / 1.231 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.185, allocations: 7.984 kB / 1.231 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/1.186, allocations: 131.4 kB / 1.231 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/1.186, allocations: 24 kB / 1.231 GB, free: 4.566 MB / 0.9825 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.0005475/1.186, allocations: 388.8 kB / 1.232 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.186, allocations: 102.8 kB / 1.232 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/1.188, allocations: 0.7548 MB / 1.233 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/1.188, allocations: 8 kB / 1.233 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.188, allocations: 4 kB / 1.233 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/1.189, allocations: 0.919 MB / 1.234 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/1.193, allocations: 2.267 MB / 1.236 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.193, allocations: 4.406 kB / 1.236 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/1.193, allocations: 143.8 kB / 1.236 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/1.193, allocations: 8 kB / 1.236 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/1.193, allocations: 23.98 kB / 1.236 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/1.193, allocations: 4 kB / 1.236 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.193, allocations: 4 kB / 1.236 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.195, allocations: 1.256 MB / 1.237 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/1.196, allocations: 263.7 kB / 1.237 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.196, allocations: 24.12 kB / 1.237 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007376/1.197, allocations: 91.91 kB / 1.238 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.197, allocations: 48.38 kB / 1.238 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/1.197, allocations: 23.95 kB / 1.238 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007913/1.198, allocations: 0.5784 MB / 1.238 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.198, allocations: 0 / 1.238 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001419/1.199, allocations: 0.5376 MB / 1.239 GB, free: 12.8 MB / 0.9981 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.002659/1.202, allocations: 1.939 MB / 1.241 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.204, allocations: 0.9627 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.204, allocations: 0 / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000597/1.204, allocations: 359 kB / 1.242 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.207, allocations: 0.6111 MB / 1.242 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.218, allocations: 6.305 MB / 1.249 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/1.218, allocations: 1.124 MB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001283/1.22, allocations: 304.1 kB / 1.25 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/1.22, allocations: 419.3 kB / 1.25 GB, free: 476 kB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.22, allocations: 0 / 1.25 GB, free: 476 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6355/1.856, allocations: 28.8 MB / 1.279 GB, free: 252.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/1.856, allocations: 243.6 kB / 1.279 GB, free: 252.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/4.485, allocations: 4 kB / 1.279 GB, free: 252.1 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