Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.151/2.151, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001141/0.001141, allocations: 184 kB / 492.3 MB, free: 0.6055 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.47/1.47, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009486/0.0009487, allocations: 86.08 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.198e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2503, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.068/5.318, allocations: 1.931 GB / 3.143 GB, free: 399.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/5.318, allocations: 87.95 kB / 3.143 GB, free: 399.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.854/7.172, allocations: 0.6002 GB / 3.743 GB, free: 226.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.863e-06/7.172, allocations: 0 / 3.743 GB, free: 226.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001043/7.172, allocations: 27.98 kB / 3.743 GB, free: 226.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002732/7.175, allocations: 1.15 MB / 3.744 GB, free: 225.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/7.175, allocations: 12.03 kB / 3.744 GB, free: 225.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/7.175, allocations: 114.5 kB / 3.745 GB, free: 225 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/7.176, allocations: 214.6 kB / 3.745 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/7.177, allocations: 0.6718 MB / 3.745 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/7.178, allocations: 58 kB / 3.746 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/7.178, allocations: 76 kB / 3.746 GB, free: 224 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/7.179, allocations: 0.8869 MB / 3.746 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/7.179, allocations: 3.938 kB / 3.746 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/7.179, allocations: 32 kB / 3.746 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/7.179, allocations: 29.31 kB / 3.747 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/7.18, allocations: 0.5789 MB / 3.747 GB, free: 222.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003137/7.183, allocations: 4.578 MB / 3.752 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/7.183, allocations: 441.7 kB / 3.752 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/7.184, allocations: 233.9 kB / 3.752 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/7.184, allocations: 109.1 kB / 3.752 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/7.184, allocations: 46.5 kB / 3.752 GB, free: 216.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/7.184, allocations: 0 / 3.752 GB, free: 216.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002096/7.186, allocations: 1.398 MB / 3.754 GB, free: 215.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/7.186, allocations: 122.8 kB / 3.754 GB, free: 215 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/7.187, allocations: 0.6133 MB / 3.754 GB, free: 214.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/7.187, allocations: 37.7 kB / 3.754 GB, free: 214.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/7.187, allocations: 419.8 kB / 3.755 GB, free: 213.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/7.187, allocations: 165.6 kB / 3.755 GB, free: 213.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/7.187, allocations: 12 kB / 3.755 GB, free: 213.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/7.187, allocations: 330 kB / 3.755 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/7.187, allocations: 173.5 kB / 3.756 GB, free: 213.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/7.188, allocations: 412.9 kB / 3.756 GB, free: 212.8 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/7.189, allocations: 0.6655 MB / 3.757 GB, free: 212.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/7.189, allocations: 0 / 3.757 GB, free: 212.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008199/7.19, allocations: 0.6537 MB / 3.757 GB, free: 211.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/7.19, allocations: 12.03 kB / 3.757 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/7.19, allocations: 4 kB / 3.757 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/7.19, allocations: 15.95 kB / 3.757 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/7.19, allocations: 131.8 kB / 3.757 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/7.19, allocations: 11.94 kB / 3.757 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/7.191, allocations: 59.2 kB / 3.757 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/7.191, allocations: 31.98 kB / 3.757 GB, free: 211.2 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001102/7.191, allocations: 144.8 kB / 3.758 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/7.191, allocations: 79.06 kB / 3.758 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/7.191, allocations: 91.38 kB / 3.758 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/7.191, allocations: 7.953 kB / 3.758 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/7.191, allocations: 11.94 kB / 3.758 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000517/7.192, allocations: 0.6833 MB / 3.758 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/7.194, allocations: 1.597 MB / 3.76 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/7.194, allocations: 4.469 kB / 3.76 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/7.194, allocations: 103.8 kB / 3.76 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/7.194, allocations: 8 kB / 3.76 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/7.194, allocations: 16 kB / 3.76 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/7.194, allocations: 7.984 kB / 3.76 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/7.194, allocations: 7.938 kB / 3.76 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/7.195, allocations: 1.016 MB / 3.761 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/7.196, allocations: 208 kB / 3.761 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/7.196, allocations: 23.98 kB / 3.761 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/7.196, allocations: 31.89 kB / 3.761 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/7.196, allocations: 47.94 kB / 3.761 GB, free: 206.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/7.196, allocations: 16 kB / 3.761 GB, free: 206.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004735/7.197, allocations: 0.4952 MB / 3.762 GB, free: 206.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 3e-07/7.197, allocations: 0 / 3.762 GB, free: 206.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001159/7.198, allocations: 364 kB / 3.762 GB, free: 205.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.003013/7.201, allocations: 4.158 MB / 3.766 GB, free: 201.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006283/7.202, allocations: 452.7 kB / 3.767 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/7.202, allocations: 3.062 kB / 3.767 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/7.202, allocations: 204 kB / 3.767 GB, free: 200.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/7.204, allocations: 453.8 kB / 3.767 GB, free: 200.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/7.206, allocations: 1.535 MB / 3.769 GB, free: 198.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/7.206, allocations: 1.04 MB / 3.77 GB, free: 197.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006274/7.207, allocations: 202.9 kB / 3.77 GB, free: 197.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/7.207, allocations: 299.3 kB / 3.77 GB, free: 197.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/7.207, allocations: 0 / 3.77 GB, free: 197.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06578/7.273, allocations: 51.24 MB / 3.82 GB, free: 146.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/7.273, allocations: 220.8 kB / 3.821 GB, free: 146.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/11, allocations: 3.078 kB / 3.821 GB, free: 146.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat