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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.061/2.061, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 171.6 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 0.7948 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001149, allocations: 92.33 kB / 0.9346 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004194, allocations: 8.625 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2705, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.608/4.879, allocations: 1.98 GB / 3.203 GB, free: 439.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/4.879, allocations: 94.25 kB / 3.203 GB, free: 439.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.49/12.37, allocations: 2.073 GB / 5.276 GB, free: 150.7 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.425e-06/12.37, allocations: 0 / 5.276 GB, free: 150.7 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.000548/12.37, allocations: 93.58 kB / 5.276 GB, free: 150.7 MB / 1.214 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.01909/12.39, allocations: 3.976 MB / 5.28 GB, free: 148.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/12.39, allocations: 9.5 kB / 5.28 GB, free: 148.8 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002115/12.39, allocations: 392.7 kB / 5.28 GB, free: 148.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007271/12.4, allocations: 0.9313 MB / 5.281 GB, free: 148.5 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009838/12.41, allocations: 2.91 MB / 5.284 GB, free: 147.9 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/12.41, allocations: 278.5 kB / 5.284 GB, free: 147.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008038/12.41, allocations: 294.7 kB / 5.285 GB, free: 147.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006138/12.42, allocations: 3.2 MB / 5.288 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-05/12.42, allocations: 3.969 kB / 5.288 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/12.42, allocations: 117.9 kB / 5.288 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/12.42, allocations: 107.3 kB / 5.288 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004209/12.42, allocations: 2.643 MB / 5.291 GB, free: 147.5 MB / 1.214 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.01802/12.44, allocations: 13.22 MB / 5.304 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/12.44, allocations: 1.663 MB / 5.305 GB, free: 138.8 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/12.44, allocations: 329 kB / 5.306 GB, free: 138.5 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/12.44, allocations: 64.41 kB / 5.306 GB, free: 138.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=182): time 4.338e-06/12.44, allocations: 0 / 5.306 GB, free: 138.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=182): time 0.004981/12.45, allocations: 2.696 MB / 5.308 GB, free: 138 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/12.45, allocations: 69.06 kB / 5.308 GB, free: 137.9 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/12.45, allocations: 1.715 MB / 5.31 GB, free: 137.4 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0003158/12.45, allocations: 72.33 kB / 5.31 GB, free: 137.4 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/12.45, allocations: 1.407 MB / 5.311 GB, free: 136.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006576/12.45, allocations: 0.648 MB / 5.312 GB, free: 136 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/12.45, allocations: 38.69 kB / 5.312 GB, free: 136 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001486/12.45, allocations: 389.8 kB / 5.312 GB, free: 135.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/12.45, allocations: 0.7838 MB / 5.313 GB, free: 135.2 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/12.45, allocations: 1.433 MB / 5.315 GB, free: 134 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/12.46, allocations: 1.042 MB / 5.316 GB, free: 133.4 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/12.46, allocations: 5.875 kB / 5.316 GB, free: 133.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004125/12.46, allocations: 2.461 MB / 5.318 GB, free: 132.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001463/12.46, allocations: 5.521 MB / 5.323 GB, free: 126.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/12.46, allocations: 14.69 kB / 5.323 GB, free: 126.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.961e-05/12.46, allocations: 27.23 kB / 5.323 GB, free: 126.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/12.46, allocations: 0.5103 MB / 5.324 GB, free: 125.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/12.46, allocations: 4.162 MB / 5.328 GB, free: 121.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/12.47, allocations: 406.5 kB / 5.328 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/12.47, allocations: 91.97 kB / 5.329 GB, free: 121.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/12.47, allocations: 4 kB / 5.329 GB, free: 121.2 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003233/12.47, allocations: 2.189 MB / 5.331 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/12.47, allocations: 16 kB / 5.331 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/12.47, allocations: 26.53 kB / 5.331 GB, free: 118.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/12.47, allocations: 471.3 kB / 5.331 GB, free: 118.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/12.47, allocations: 35.91 kB / 5.331 GB, free: 118.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/12.48, allocations: 386.2 kB / 5.332 GB, free: 118.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/12.48, allocations: 87.98 kB / 5.332 GB, free: 118 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * 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.002444/12.48, allocations: 0.8673 MB / 5.332 GB, free: 117.1 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009949/12.48, allocations: 272.7 kB / 5.333 GB, free: 116.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/12.49, allocations: 2.091 MB / 5.335 GB, free: 114.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/12.49, allocations: 16 kB / 5.335 GB, free: 114.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/12.49, allocations: 0 / 5.335 GB, free: 114.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002231/12.49, allocations: 1.877 MB / 5.337 GB, free: 112.8 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00932/12.5, allocations: 5.15 MB / 5.342 GB, free: 107.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/12.5, allocations: 2.75 kB / 5.342 GB, free: 107.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/12.5, allocations: 0.4979 MB / 5.342 GB, free: 107.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/12.5, allocations: 8 kB / 5.342 GB, free: 107.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/12.5, allocations: 51.97 kB / 5.342 GB, free: 107.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/12.5, allocations: 4.126 MB / 5.346 GB, free: 102.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/12.5, allocations: 7.953 kB / 5.346 GB, free: 102.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/12.51, allocations: 3.417 MB / 5.35 GB, free: 99.25 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/12.51, allocations: 0.5766 MB / 5.35 GB, free: 98.65 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/12.51, allocations: 44.12 kB / 5.35 GB, free: 98.61 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/12.51, allocations: 250 kB / 5.35 GB, free: 98.38 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/12.51, allocations: 116.4 kB / 5.351 GB, free: 98.27 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/12.51, allocations: 67.97 kB / 5.351 GB, free: 98.2 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002045/12.51, allocations: 1.31 MB / 5.352 GB, free: 96.88 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.6e-07/12.51, allocations: 0 / 5.352 GB, free: 96.88 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.007702/12.52, allocations: 2.144 MB / 5.354 GB, free: 94.74 MB / 1.214 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 (182): * Single equations (assignments): 175 * 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.01218/12.53, allocations: 9.368 MB / 5.363 GB, free: 85.87 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.006969/12.54, allocations: 3.211 MB / 5.366 GB, free: 82.68 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/12.54, allocations: 0 / 5.366 GB, free: 82.68 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/12.54, allocations: 1.004 MB / 5.367 GB, free: 81.68 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008197/12.55, allocations: 1.58 MB / 5.369 GB, free: 80.14 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/12.57, allocations: 19.33 MB / 5.388 GB, free: 60.17 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/12.57, allocations: 2.247 MB / 5.39 GB, free: 57.89 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004319/12.57, allocations: 1.099 MB / 5.391 GB, free: 56.84 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/12.58, allocations: 1.269 MB / 5.392 GB, free: 55.57 MB / 1.214 GB Notification: Performance of SimCode: time 1.262e-06/12.58, allocations: 0 / 5.392 GB, free: 55.57 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9449/13.52, allocations: 135.7 MB / 5.525 GB, free: 168.5 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/13.52, allocations: 260.1 kB / 5.525 GB, free: 168.1 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/20.4, allocations: 2.844 kB / 5.525 GB, free: 168.1 MB / 1.229 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