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.001285/0.001285, allocations: 99.31 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.001491/0.001491, 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.287/1.287, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.325/3.325, allocations: 409.2 MB / 0.6838 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006713/0.0006715, allocations: 12 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 146.8 MB / 0.9809 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.4251/1.437, allocations: 247.3 MB / 1.222 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.05391/1.491, allocations: 23.91 MB / 1.246 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006311/1.498, allocations: 99.31 kB / 1.246 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008967/1.507, allocations: 1.719 MB / 1.247 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.9264/2.433, allocations: 5.868 MB / 1.253 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01603/2.449, allocations: 2.718 MB / 1.256 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01735/2.467, allocations: 5.136 MB / 1.261 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009209/2.476, allocations: 2.576 MB / 1.263 GB, free: 26.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/2.487, allocations: 2.621 MB / 1.266 GB, free: 26.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006574/2.494, allocations: 1.906 MB / 1.268 GB, free: 26.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001466/2.496, allocations: 157 kB / 1.268 GB, free: 26.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/2.508, allocations: 2.088 MB / 1.27 GB, free: 26.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004128/2.512, allocations: 1.311 MB / 1.271 GB, free: 26.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003629/2.516, allocations: 0.7612 MB / 1.272 GB, free: 26.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/2.527, allocations: 4.506 MB / 1.276 GB, free: 26.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/2.527, allocations: 0 / 1.276 GB, free: 26.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.977e-06/2.527, allocations: 4 kB / 1.276 GB, free: 26.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002168/2.528, allocations: 0 / 1.276 GB, free: 26.19 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.01516/2.543, allocations: 3.406 MB / 1.28 GB, free: 24.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/2.543, allocations: 10.81 kB / 1.28 GB, free: 24.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002239/2.545, allocations: 392.5 kB / 1.28 GB, free: 24.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/2.559, allocations: 0.9432 MB / 1.281 GB, free: 24.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/2.572, allocations: 2.238 MB / 1.283 GB, free: 23.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006494/2.573, allocations: 276.5 kB / 1.283 GB, free: 23.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/2.575, allocations: 301.2 kB / 1.284 GB, free: 23.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/2.588, allocations: 3.332 MB / 1.287 GB, free: 23.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/2.588, allocations: 5.281 kB / 1.287 GB, free: 23.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009857/2.589, allocations: 118.7 kB / 1.287 GB, free: 23.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/2.59, allocations: 108 kB / 1.287 GB, free: 23.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/2.601, allocations: 2.798 MB / 1.29 GB, free: 23.3 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.03281/2.633, allocations: 13.28 MB / 1.303 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/2.638, allocations: 1.721 MB / 1.305 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/2.639, allocations: 59.17 kB / 1.305 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.404e-05/2.639, allocations: 58.75 kB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=186): time 6.863e-06/2.639, allocations: 0 / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=186): time 0.00874/2.647, allocations: 2.794 MB / 1.307 GB, free: 15.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/2.648, allocations: 70 kB / 1.308 GB, free: 15.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/2.652, allocations: 1.982 MB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005283/2.653, allocations: 74.94 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/2.654, allocations: 1.409 MB / 1.311 GB, free: 14.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/2.655, allocations: 0.6506 MB / 1.312 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/2.656, allocations: 41.94 kB / 1.312 GB, free: 14.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002455/2.656, allocations: 388.2 kB / 1.312 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/2.658, allocations: 0.8032 MB / 1.313 GB, free: 14.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/2.66, allocations: 1.428 MB / 1.314 GB, free: 13.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/2.663, allocations: 1.066 MB / 1.315 GB, free: 13.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/2.663, allocations: 2.938 kB / 1.315 GB, free: 13.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006156/2.669, allocations: 2.499 MB / 1.318 GB, free: 13.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.002932/2.672, allocations: 5.242 MB / 1.323 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-05/2.672, allocations: 11.84 kB / 1.323 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.247e-05/2.672, allocations: 26.55 kB / 1.323 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/2.676, allocations: 0.5691 MB / 1.323 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/2.68, allocations: 4.162 MB / 1.327 GB, free: 19.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006134/2.686, allocations: 403.4 kB / 1.328 GB, free: 19.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005111/2.687, allocations: 89.34 kB / 1.328 GB, free: 19.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/2.687, allocations: 5.188 kB / 1.328 GB, free: 19.29 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005519/2.692, allocations: 2.242 MB / 1.33 GB, free: 19.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/2.692, allocations: 16.62 kB / 1.33 GB, free: 19.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.179e-05/2.692, allocations: 25.62 kB / 1.33 GB, free: 19.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/2.695, allocations: 478.9 kB / 1.331 GB, free: 19.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.965e-05/2.695, allocations: 31.38 kB / 1.331 GB, free: 19.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/2.7, allocations: 390.5 kB / 1.331 GB, free: 19.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/2.7, allocations: 87.58 kB / 1.331 GB, free: 19.11 MB / 1.029 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.002992/2.703, allocations: 0.8602 MB / 1.332 GB, free: 18.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/2.704, allocations: 273.6 kB / 1.332 GB, free: 18.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/2.709, allocations: 2.157 MB / 1.334 GB, free: 18.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/2.71, allocations: 18.59 kB / 1.334 GB, free: 18.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/2.71, allocations: 0 / 1.334 GB, free: 18.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004086/2.714, allocations: 1.93 MB / 1.336 GB, free: 18.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/2.731, allocations: 5.226 MB / 1.341 GB, free: 17.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/2.731, allocations: 3.938 kB / 1.341 GB, free: 17.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004919/2.736, allocations: 0.5068 MB / 1.342 GB, free: 17.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.056e-05/2.736, allocations: 11.39 kB / 1.342 GB, free: 17.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003421/2.736, allocations: 49.02 kB / 1.342 GB, free: 17.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003667/2.74, allocations: 4.128 MB / 1.346 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/2.74, allocations: 6.688 kB / 1.346 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009936/2.75, allocations: 3.515 MB / 1.349 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/2.753, allocations: 0.5735 MB / 1.35 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/2.754, allocations: 46.58 kB / 1.35 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005435/2.76, allocations: 241 kB / 1.35 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/2.76, allocations: 121.7 kB / 1.35 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003802/2.761, allocations: 71.61 kB / 1.35 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00463/2.765, allocations: 1.32 MB / 1.352 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.32e-07/2.765, allocations: 1.312 kB / 1.352 GB, free: 12.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.009114/2.775, allocations: 1.723 MB / 1.353 GB, free: 12.23 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.01133/2.786, allocations: 5.077 MB / 1.358 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01136/2.797, allocations: 3.347 MB / 1.361 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/2.797, allocations: 3.188 kB / 1.361 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003325/2.801, allocations: 1.049 MB / 1.363 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01521/2.816, allocations: 1.574 MB / 1.364 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/2.851, allocations: 18.82 MB / 1.382 GB, free: 9.539 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004232/2.856, allocations: 2.259 MB / 1.385 GB, free: 8.191 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.009017/2.865, allocations: 1.119 MB / 1.386 GB, free: 7.066 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003209/2.868, allocations: 1.275 MB / 1.387 GB, free: 6.766 MB / 1.045 GB Notification: Performance of SimCode: time 1.683e-06/2.868, allocations: 0 / 1.387 GB, free: 6.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/3.118, allocations: 76.69 MB / 1.462 GB, free: 11.13 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004032/3.118, allocations: 264.2 kB / 1.462 GB, free: 10.77 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.208/8.326, allocations: 4 kB / 1.462 GB, free: 10.77 MB / 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