Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.337/2.337, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001145/0.001145, allocations: 188.8 kB / 487.4 MB, free: 5.082 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.593/1.593, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 103.5 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.309e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3031, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.882/6.185, allocations: 1.919 GB / 3.125 GB, free: 431.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/6.185, allocations: 86.42 kB / 3.125 GB, free: 431.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.747/7.932, allocations: 460.6 MB / 3.574 GB, free: 301.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.043e-06/7.932, allocations: 0 / 3.574 GB, free: 301.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001217/7.932, allocations: 34.12 kB / 3.574 GB, free: 301.9 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003085/7.935, allocations: 1.254 MB / 3.576 GB, free: 301.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/7.935, allocations: 10.41 kB / 3.576 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/7.937, allocations: 313.5 kB / 3.576 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/7.939, allocations: 0.849 MB / 3.577 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/7.939, allocations: 27.12 kB / 3.577 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/7.939, allocations: 48.53 kB / 3.577 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/7.94, allocations: 0.71 MB / 3.578 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/7.942, allocations: 0.8184 MB / 3.578 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/7.942, allocations: 0 / 3.578 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/7.942, allocations: 1.625 kB / 3.578 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/7.942, allocations: 38.45 kB / 3.578 GB, free: 301.1 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.006011/7.948, allocations: 3.274 MB / 3.582 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/7.949, allocations: 443.1 kB / 3.582 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/7.949, allocations: 255.5 kB / 3.582 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/7.95, allocations: 101.5 kB / 3.582 GB, free: 299.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/7.95, allocations: 39.09 kB / 3.582 GB, free: 299.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.095e-06/7.95, allocations: 0 / 3.582 GB, free: 299.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003306/7.953, allocations: 1.332 MB / 3.584 GB, free: 299.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/7.953, allocations: 56.56 kB / 3.584 GB, free: 299.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/7.954, allocations: 0.5212 MB / 3.584 GB, free: 299.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/7.954, allocations: 26.92 kB / 3.584 GB, free: 299 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/7.954, allocations: 482.1 kB / 3.585 GB, free: 298.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/7.954, allocations: 171.8 kB / 3.585 GB, free: 298.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/7.955, allocations: 2.812 kB / 3.585 GB, free: 298.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001369/7.955, allocations: 379.9 kB / 3.585 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/7.955, allocations: 200.5 kB / 3.585 GB, free: 298.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/7.955, allocations: 320 kB / 3.586 GB, free: 298.3 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/7.958, allocations: 0.9308 MB / 3.587 GB, free: 298.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/7.958, allocations: 1.312 kB / 3.587 GB, free: 298.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001415/7.96, allocations: 0.6854 MB / 3.587 GB, free: 298.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/7.96, allocations: 5.594 kB / 3.587 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/7.96, allocations: 3.031 kB / 3.587 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/7.96, allocations: 83.38 kB / 3.587 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/7.961, allocations: 138.7 kB / 3.588 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/7.963, allocations: 2.81 MB / 3.59 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/7.964, allocations: 54.27 kB / 3.59 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/7.964, allocations: 20.66 kB / 3.59 GB, free: 295.7 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/7.965, allocations: 130.5 kB / 3.591 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001144/7.966, allocations: 0.5384 MB / 3.591 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/7.966, allocations: 78.53 kB / 3.591 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/7.966, allocations: 83.91 kB / 3.591 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/7.966, allocations: 5.156 kB / 3.591 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/7.966, allocations: 1.031 kB / 3.591 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/7.967, allocations: 0.7814 MB / 3.592 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/7.971, allocations: 1.567 MB / 3.594 GB, free: 294.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/7.971, allocations: 7.094 kB / 3.594 GB, free: 294.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/7.971, allocations: 112.6 kB / 3.594 GB, free: 294.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/7.972, allocations: 58.39 kB / 3.594 GB, free: 294.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/7.972, allocations: 9.625 kB / 3.594 GB, free: 294.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/7.973, allocations: 1.534 MB / 3.595 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/7.973, allocations: 4.281 kB / 3.595 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/7.975, allocations: 1.095 MB / 3.596 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/7.975, allocations: 213.4 kB / 3.596 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/7.975, allocations: 9.734 kB / 3.596 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/7.976, allocations: 58.81 kB / 3.597 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/7.976, allocations: 47.84 kB / 3.597 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/7.976, allocations: 32.03 kB / 3.597 GB, free: 292.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006294/7.977, allocations: 409.5 kB / 3.597 GB, free: 292.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.977, allocations: 0 / 3.597 GB, free: 292.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001952/7.979, allocations: 359.7 kB / 3.597 GB, free: 292.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004539/7.984, allocations: 3.856 MB / 3.601 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001437/7.985, allocations: 0.6905 MB / 3.602 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/7.985, allocations: 2.5 kB / 3.602 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006017/7.986, allocations: 351.7 kB / 3.602 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/7.989, allocations: 469.4 kB / 3.603 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/7.993, allocations: 1.52 MB / 3.604 GB, free: 289.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009265/7.994, allocations: 1.107 MB / 3.605 GB, free: 289 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009253/7.994, allocations: 188.7 kB / 3.605 GB, free: 289 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/7.995, allocations: 340.7 kB / 3.606 GB, free: 289 MB / 1.151 GB Notification: Performance of SimCode: time 1.563e-06/7.995, allocations: 0 / 3.606 GB, free: 289 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06356/8.059, allocations: 31.75 MB / 3.637 GB, free: 288.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/8.059, allocations: 187.5 kB / 3.637 GB, free: 288 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/10.99, allocations: 0 / 3.637 GB, free: 288 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat does not exist to compare? outputFormat=mat