Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.0009943/0.0009944, allocations: 99.62 kB / 15.05 MB, free: 1.113 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.001009/0.001009, allocations: 177.3 kB / 15.94 MB, free: 228 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.398/1.398, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.559/2.559, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005044, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7138/0.7144, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1755/0.8899, allocations: 158.1 MB / 1.108 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008784/0.8987, allocations: 5.608 MB / 1.113 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.8998, allocations: 31.75 kB / 1.113 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.9015, allocations: 0.5677 MB / 1.114 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.9063, allocations: 1.658 MB / 1.116 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.9097, allocations: 1.196 MB / 1.117 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002587/0.9123, allocations: 1.458 MB / 1.118 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009798/0.9133, allocations: 0.704 MB / 1.119 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.9146, allocations: 0.7436 MB / 1.12 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007439/0.9154, allocations: 0.5097 MB / 1.12 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.9155, allocations: 40 kB / 1.12 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.9174, allocations: 0.8814 MB / 1.121 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003959/0.9178, allocations: 402.9 kB / 1.121 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.9181, allocations: 253.1 kB / 1.122 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.9197, allocations: 1.438 MB / 1.123 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.9197, allocations: 0 / 1.123 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9198, allocations: 0 / 1.123 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.9198, allocations: 0 / 1.123 GB, free: 2.188 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001958/0.9217, allocations: 1.254 MB / 1.124 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.9218, allocations: 8.031 kB / 1.124 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.922, allocations: 143.2 kB / 1.124 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.9239, allocations: 346.3 kB / 1.125 GB, free: 392 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.9251, allocations: 0.7497 MB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.9255, allocations: 129.9 kB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9256, allocations: 84 kB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.9273, allocations: 1.06 MB / 1.127 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.9273, allocations: 0 / 1.127 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.612e-05/0.9274, allocations: 39.95 kB / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.9275, allocations: 37.98 kB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.929, allocations: 0.847 MB / 1.128 GB, free: 13.37 MB / 0.8887 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.005295/0.9343, allocations: 4.058 MB / 1.132 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.9349, allocations: 368.4 kB / 1.132 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.9349, allocations: 8 kB / 1.132 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.935, allocations: 42.55 kB / 1.132 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=36): time 2.244e-06/0.935, allocations: 0 / 1.132 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.002672/0.9377, allocations: 1.334 MB / 1.133 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.9377, allocations: 59.36 kB / 1.133 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.939, allocations: 0.9921 MB / 1.134 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.9391, allocations: 33.7 kB / 1.134 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.9395, allocations: 495.3 kB / 1.135 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.9396, allocations: 138 kB / 1.135 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.9396, allocations: 12 kB / 1.135 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9397, allocations: 334 kB / 1.135 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.9402, allocations: 233.2 kB / 1.136 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.9408, allocations: 405.2 kB / 1.136 GB, free: 4.445 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.9427, allocations: 0.7386 MB / 1.137 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9427, allocations: 4 kB / 1.137 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001339/0.944, allocations: 0.7536 MB / 1.137 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.944, allocations: 5.719 kB / 1.137 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.9441, allocations: 11.98 kB / 1.137 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.9441, allocations: 8.25 kB / 1.137 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.9447, allocations: 143.8 kB / 1.138 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.9447, allocations: 11.94 kB / 1.138 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/0.9457, allocations: 103.7 kB / 1.138 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.9458, allocations: 28 kB / 1.138 GB, free: 2.617 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.000471/0.9462, allocations: 309.5 kB / 1.138 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.9464, allocations: 102.8 kB / 1.138 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.9466, allocations: 109 kB / 1.138 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9466, allocations: 7.938 kB / 1.138 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.9466, allocations: 0 / 1.138 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006707/0.9473, allocations: 0.6674 MB / 1.139 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.9497, allocations: 1.593 MB / 1.14 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9497, allocations: 4 kB / 1.14 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.9501, allocations: 79.91 kB / 1.14 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.9501, allocations: 8 kB / 1.14 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.9502, allocations: 15.98 kB / 1.14 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.9502, allocations: 7.938 kB / 1.14 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9502, allocations: 4 kB / 1.14 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.9513, allocations: 1.038 MB / 1.142 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.9517, allocations: 239.9 kB / 1.142 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.9519, allocations: 12 kB / 1.142 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/0.9526, allocations: 65.44 kB / 1.142 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.9527, allocations: 39.86 kB / 1.142 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.9527, allocations: 27.98 kB / 1.142 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001025/0.9538, allocations: 0.7034 MB / 1.143 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9538, allocations: 0 / 1.143 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008368/0.9546, allocations: 252 kB / 1.143 GB, free: 12.98 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.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 (38): * Single equations (assignments): 38 * 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.002048/0.9567, allocations: 2.752 MB / 1.145 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009846/0.9577, allocations: 491.8 kB / 1.146 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9577, allocations: 7.938 kB / 1.146 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.958, allocations: 189.2 kB / 1.146 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.9606, allocations: 0.5841 MB / 1.147 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.9713, allocations: 8.953 MB / 1.155 GB, free: 15.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.9721, allocations: 1.118 MB / 1.157 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001014/0.9731, allocations: 232.2 kB / 1.157 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.9735, allocations: 343.3 kB / 1.157 GB, free: 13.86 MB / 0.92 GB Notification: Performance of SimCode: time 1.162e-06/0.9736, allocations: 0 / 1.157 GB, free: 13.86 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/1.021, allocations: 27.14 MB / 1.184 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/1.021, allocations: 242.2 kB / 1.184 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.32, allocations: 2.109 kB / 1.184 GB, free: 2.934 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat does not exist to compare? outputFormat=mat