Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",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.00122/0.001219, allocations: 99.7 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.001327/0.001327, 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 1.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.296/2.296, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002901, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7241, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.2625/0.9866, allocations: 247.3 MB / 1.195 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03427/1.021, allocations: 23.92 MB / 1.218 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007479/1.029, allocations: 99.31 kB / 1.218 GB, free: 276 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007844/1.036, allocations: 1.719 MB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02181/1.058, allocations: 5.873 MB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008664/1.067, allocations: 2.714 MB / 1.229 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01085/1.078, allocations: 5.134 MB / 1.234 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004652/1.082, allocations: 2.572 MB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006819/1.089, allocations: 2.617 MB / 1.239 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003948/1.093, allocations: 1.915 MB / 1.241 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006682/1.094, allocations: 152 kB / 1.241 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006425/1.1, allocations: 2.091 MB / 1.243 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001875/1.102, allocations: 1.309 MB / 1.244 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/1.104, allocations: 0.7616 MB / 1.245 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006423/1.11, allocations: 4.508 MB / 1.249 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.11, allocations: 0 / 1.249 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.11, allocations: 0 / 1.249 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001302/1.111, allocations: 0 / 1.249 GB, free: 0.8242 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.5852/1.696, allocations: 3.414 MB / 1.252 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.696, allocations: 10.34 kB / 1.252 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009329/1.697, allocations: 395.5 kB / 1.253 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/1.703, allocations: 0.9415 MB / 1.254 GB, free: 284 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005842/1.709, allocations: 2.222 MB / 1.256 GB, free: 283 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/1.709, allocations: 286.1 kB / 1.256 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004756/1.71, allocations: 292.6 kB / 1.256 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005988/1.716, allocations: 3.336 MB / 1.26 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/1.716, allocations: 1.312 kB / 1.26 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/1.716, allocations: 119.7 kB / 1.26 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/1.716, allocations: 105 kB / 1.26 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005287/1.721, allocations: 2.801 MB / 1.263 GB, free: 279.7 MB / 0.9981 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.01494/1.736, allocations: 13.28 MB / 1.276 GB, free: 268.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/1.739, allocations: 1.716 MB / 1.277 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/1.739, allocations: 59.89 kB / 1.277 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/1.739, allocations: 62.73 kB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=186): time 4.238e-06/1.739, allocations: 0 / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=186): time 0.005133/1.744, allocations: 2.792 MB / 1.28 GB, free: 266 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.744, allocations: 70.62 kB / 1.28 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.747, allocations: 1.977 MB / 1.282 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/1.747, allocations: 72.45 kB / 1.282 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/1.748, allocations: 1.407 MB / 1.284 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000545/1.749, allocations: 0.6558 MB / 1.284 GB, free: 263 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/1.749, allocations: 40.78 kB / 1.284 GB, free: 263 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.749, allocations: 388.2 kB / 1.285 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.75, allocations: 0.8036 MB / 1.285 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/1.752, allocations: 1.426 MB / 1.287 GB, free: 261 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/1.753, allocations: 1.063 MB / 1.288 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/1.753, allocations: 7.938 kB / 1.288 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003427/1.757, allocations: 2.506 MB / 1.29 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000785/1.757, allocations: 5.235 MB / 1.295 GB, free: 253.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.757, allocations: 11.75 kB / 1.295 GB, free: 253.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/1.757, allocations: 27.61 kB / 1.295 GB, free: 253.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/1.76, allocations: 0.5708 MB / 1.296 GB, free: 253.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/1.761, allocations: 4.163 MB / 1.3 GB, free: 249.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/1.765, allocations: 404.8 kB / 1.301 GB, free: 249.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.765, allocations: 87.14 kB / 1.301 GB, free: 249.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/1.765, allocations: 3.969 kB / 1.301 GB, free: 249.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002799/1.768, allocations: 2.235 MB / 1.303 GB, free: 248 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.768, allocations: 15.5 kB / 1.303 GB, free: 248 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.768, allocations: 23.59 kB / 1.303 GB, free: 248 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/1.769, allocations: 487.8 kB / 1.303 GB, free: 247.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/1.769, allocations: 31.39 kB / 1.303 GB, free: 247.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/1.772, allocations: 385.7 kB / 1.304 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.773, allocations: 83.98 kB / 1.304 GB, free: 247.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001416/1.774, allocations: 0.8715 MB / 1.305 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/1.774, allocations: 272.7 kB / 1.305 GB, free: 246.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/1.777, allocations: 2.148 MB / 1.307 GB, free: 244.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.777, allocations: 23.95 kB / 1.307 GB, free: 244.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.777, allocations: 0 / 1.307 GB, free: 244.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002025/1.779, allocations: 1.928 MB / 1.309 GB, free: 242.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007177/1.786, allocations: 5.23 MB / 1.314 GB, free: 236.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.786, allocations: 7.984 kB / 1.314 GB, free: 236.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.789, allocations: 0.5012 MB / 1.314 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/1.789, allocations: 12 kB / 1.314 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.789, allocations: 55.97 kB / 1.315 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/1.79, allocations: 4.124 MB / 1.319 GB, free: 232 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.79, allocations: 7.938 kB / 1.319 GB, free: 232 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/1.794, allocations: 3.511 MB / 1.322 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.796, allocations: 0.5755 MB / 1.323 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007833/1.797, allocations: 39.98 kB / 1.323 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/1.8, allocations: 260.4 kB / 1.323 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.8, allocations: 115.1 kB / 1.323 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.8, allocations: 74.02 kB / 1.323 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002025/1.802, allocations: 1.322 MB / 1.324 GB, free: 226 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.802, allocations: 0 / 1.324 GB, free: 226 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005019/1.807, allocations: 1.715 MB / 1.326 GB, free: 224.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mC[1]) * 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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005107/1.812, allocations: 5.085 MB / 1.331 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005602/1.818, allocations: 3.348 MB / 1.334 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.818, allocations: 4 kB / 1.334 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.819, allocations: 1.048 MB / 1.335 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00802/1.827, allocations: 1.576 MB / 1.337 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/1.844, allocations: 18.82 MB / 1.355 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/1.846, allocations: 2.26 MB / 1.357 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00462/1.851, allocations: 1.115 MB / 1.358 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/1.853, allocations: 1.276 MB / 1.36 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.51e-07/1.853, allocations: 0 / 1.36 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.963, allocations: 76.7 MB / 1.435 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/1.964, allocations: 253.1 kB / 1.435 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.079/6.042, allocations: 0 / 1.435 GB, free: 112.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat does not exist to compare? outputFormat=mat