Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_latest_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.000936/0.0009359, allocations: 86.95 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.001089/0.001089, 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.425/2.425, allocations: 409.4 MB / 0.684 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6147, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.8447/1.459, allocations: 278.8 MB / 1.253 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03147/1.491, allocations: 24.17 MB / 1.277 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004175/1.495, allocations: 103.2 kB / 1.277 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003741/1.499, allocations: 1.206 MB / 1.278 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01107/1.51, allocations: 4.365 MB / 1.282 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006094/1.516, allocations: 1.961 MB / 1.284 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.527, allocations: 10.44 MB / 1.295 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004484/1.532, allocations: 2.54 MB / 1.297 GB, free: 26.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007484/1.539, allocations: 3.193 MB / 1.3 GB, free: 26.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006796/1.546, allocations: 2.827 MB / 1.303 GB, free: 26.26 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00168/1.548, allocations: 153.8 kB / 1.303 GB, free: 26.26 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/1.559, allocations: 2.407 MB / 1.305 GB, free: 26.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002576/1.561, allocations: 1.429 MB / 1.307 GB, free: 26.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002113/1.563, allocations: 0.7608 MB / 1.308 GB, free: 26.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007156/1.571, allocations: 4.752 MB / 1.312 GB, free: 25.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.571, allocations: 3.344 kB / 1.312 GB, free: 25.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.294e-06/1.571, allocations: 0 / 1.312 GB, free: 25.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002201/1.571, allocations: 0 / 1.312 GB, free: 25.8 MB / 1.014 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.006541/1.577, allocations: 3.479 MB / 1.316 GB, free: 24.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.577, allocations: 8.25 kB / 1.316 GB, free: 24.08 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007434/1.578, allocations: 397.9 kB / 1.316 GB, free: 24.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005868/1.584, allocations: 0.9417 MB / 1.317 GB, free: 23.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/1.59, allocations: 2.394 MB / 1.319 GB, free: 23.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/1.591, allocations: 276.5 kB / 1.32 GB, free: 23.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006853/1.591, allocations: 301.2 kB / 1.32 GB, free: 23.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005984/1.597, allocations: 3.345 MB / 1.323 GB, free: 22.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/1.597, allocations: 2.625 kB / 1.323 GB, free: 22.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/1.598, allocations: 117.8 kB / 1.323 GB, free: 22.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.598, allocations: 109.8 kB / 1.323 GB, free: 22.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/1.602, allocations: 2.797 MB / 1.326 GB, free: 22.87 MB / 1.014 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.0155/1.617, allocations: 13.29 MB / 1.339 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/1.62, allocations: 1.724 MB / 1.341 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/1.621, allocations: 1.12 MB / 1.342 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/1.621, allocations: 335.6 kB / 1.342 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/1.621, allocations: 57.22 kB / 1.342 GB, free: 14.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=186): time 3.636e-06/1.621, allocations: 0 / 1.342 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=186): time 0.004319/1.626, allocations: 2.783 MB / 1.345 GB, free: 13.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/1.626, allocations: 71.38 kB / 1.345 GB, free: 13.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/1.628, allocations: 1.98 MB / 1.347 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.628, allocations: 67.27 kB / 1.347 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/1.629, allocations: 1.415 MB / 1.348 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/1.629, allocations: 0.6562 MB / 1.349 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/1.629, allocations: 38.34 kB / 1.349 GB, free: 12.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.63, allocations: 386.7 kB / 1.349 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.631, allocations: 0.8034 MB / 1.35 GB, free: 11.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/1.632, allocations: 1.444 MB / 1.352 GB, free: 10.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/1.634, allocations: 1.06 MB / 1.353 GB, free: 10.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.634, allocations: 3.375 kB / 1.353 GB, free: 10.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003459/1.637, allocations: 2.504 MB / 1.355 GB, free: 10.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/1.637, allocations: 472.2 kB / 1.356 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.637, allocations: 14.69 kB / 1.356 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/1.637, allocations: 21.75 kB / 1.356 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/1.64, allocations: 0.5725 MB / 1.356 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/1.642, allocations: 4.156 MB / 1.36 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/1.645, allocations: 407.5 kB / 1.361 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/1.645, allocations: 87.42 kB / 1.361 GB, free: 5.152 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/1.645, allocations: 4.25 kB / 1.361 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002888/1.648, allocations: 2.238 MB / 1.363 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.648, allocations: 12.38 kB / 1.363 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.648, allocations: 29.25 kB / 1.363 GB, free: 4.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.65, allocations: 477 kB / 1.363 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/1.65, allocations: 34.64 kB / 1.363 GB, free: 4.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/1.653, allocations: 387 kB / 1.364 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.653, allocations: 88.58 kB / 1.364 GB, free: 4.621 MB / 1.014 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.001486/1.654, allocations: 0.8678 MB / 1.365 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/1.655, allocations: 274.2 kB / 1.365 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/1.658, allocations: 2.158 MB / 1.367 GB, free: 3.758 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.658, allocations: 17.75 kB / 1.367 GB, free: 3.758 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.658, allocations: 0 / 1.367 GB, free: 3.758 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/1.66, allocations: 1.921 MB / 1.369 GB, free: 3.266 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007547/1.667, allocations: 5.234 MB / 1.374 GB, free: 1.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.667, allocations: 3.375 kB / 1.374 GB, free: 1.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/1.67, allocations: 0.5081 MB / 1.375 GB, free: 1.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/1.67, allocations: 11.66 kB / 1.375 GB, free: 1.605 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.67, allocations: 54.88 kB / 1.375 GB, free: 1.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.672, allocations: 4.122 MB / 1.379 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.672, allocations: 3.688 kB / 1.379 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/1.676, allocations: 3.284 MB / 1.382 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.678, allocations: 0.5727 MB / 1.382 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/1.678, allocations: 45.33 kB / 1.382 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.681, allocations: 247.2 kB / 1.383 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/1.681, allocations: 117.3 kB / 1.383 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.681, allocations: 72.45 kB / 1.383 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002198/1.683, allocations: 1.313 MB / 1.384 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/1.683, allocations: 4.094 kB / 1.384 GB, free: 11.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005185/1.688, allocations: 1.726 MB / 1.386 GB, free: 10.7 MB / 1.029 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.005979/1.694, allocations: 4.116 MB / 1.39 GB, free: 7.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006419/1.701, allocations: 3.346 MB / 1.393 GB, free: 5.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.701, allocations: 4 kB / 1.393 GB, free: 5.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.703, allocations: 1.052 MB / 1.394 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008583/1.711, allocations: 1.605 MB / 1.396 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03745/1.749, allocations: 19.38 MB / 1.415 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/1.751, allocations: 2.191 MB / 1.417 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004764/1.756, allocations: 1.112 MB / 1.418 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.758, allocations: 1.279 MB / 1.419 GB, free: 13.88 MB / 1.061 GB Notification: Performance of SimCode: time 8.81e-07/1.758, allocations: 1.859 kB / 1.419 GB, free: 13.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.885, allocations: 78.14 MB / 1.495 GB, free: 0.793 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.885, allocations: 273.7 kB / 1.496 GB, free: 440 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/5.788, allocations: 3.516 kB / 1.496 GB, free: 440 kB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat does not exist to compare? outputFormat=mat