Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 390.5 MB / 398 MB, free: 11 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.001047/0.001047, allocations: 187.5 kB / 491.2 MB, free: 1.598 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.42/1.42, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009857/0.0009856, allocations: 87.89 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.674e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2398, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.211/5.451, allocations: 1.919 GB / 3.132 GB, free: 409.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/5.451, allocations: 80.98 kB / 3.132 GB, free: 409.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.691/7.142, allocations: 460.6 MB / 3.582 GB, free: 296.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.422e-06/7.142, allocations: 0 / 3.582 GB, free: 296.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.329e-05/7.142, allocations: 34.66 kB / 3.582 GB, free: 296.7 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.002589/7.145, allocations: 1.256 MB / 3.583 GB, free: 296.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/7.145, allocations: 9.562 kB / 3.583 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/7.147, allocations: 311.8 kB / 3.583 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/7.148, allocations: 0.8394 MB / 3.584 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/7.149, allocations: 26.38 kB / 3.584 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/7.149, allocations: 50.09 kB / 3.584 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001262/7.15, allocations: 0.7165 MB / 3.585 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/7.151, allocations: 0.8203 MB / 3.586 GB, free: 295.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/7.151, allocations: 3.953 kB / 3.586 GB, free: 295.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/7.151, allocations: 3.609 kB / 3.586 GB, free: 295.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/7.151, allocations: 34.25 kB / 3.586 GB, free: 295.7 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.004696/7.156, allocations: 3.267 MB / 3.589 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/7.157, allocations: 445.2 kB / 3.589 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/7.157, allocations: 248.6 kB / 3.589 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/7.157, allocations: 96.81 kB / 3.59 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/7.157, allocations: 47.53 kB / 3.59 GB, free: 294.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/7.157, allocations: 0 / 3.59 GB, free: 294.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002725/7.16, allocations: 1.331 MB / 3.591 GB, free: 293.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/7.16, allocations: 55.41 kB / 3.591 GB, free: 293.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/7.161, allocations: 0.5187 MB / 3.591 GB, free: 293.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/7.161, allocations: 25.7 kB / 3.591 GB, free: 293.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/7.161, allocations: 482.6 kB / 3.592 GB, free: 293.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/7.161, allocations: 167.9 kB / 3.592 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/7.161, allocations: 3.125 kB / 3.592 GB, free: 293.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001099/7.161, allocations: 378.9 kB / 3.592 GB, free: 293.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/7.162, allocations: 204.5 kB / 3.593 GB, free: 293.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/7.162, allocations: 317.7 kB / 3.593 GB, free: 293 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.002442/7.164, allocations: 0.925 MB / 3.594 GB, free: 292.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/7.164, allocations: 3.438 kB / 3.594 GB, free: 292.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001102/7.165, allocations: 0.6837 MB / 3.594 GB, free: 292.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/7.165, allocations: 11.31 kB / 3.595 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/7.166, allocations: 3.719 kB / 3.595 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/7.166, allocations: 87.97 kB / 3.595 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/7.166, allocations: 129 kB / 3.595 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/7.168, allocations: 2.813 MB / 3.597 GB, free: 290.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/7.169, allocations: 53.2 kB / 3.598 GB, free: 290.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/7.169, allocations: 32.61 kB / 3.598 GB, free: 290.4 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.0001809/7.17, allocations: 122.5 kB / 3.598 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008905/7.17, allocations: 0.5423 MB / 3.598 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/7.171, allocations: 77.66 kB / 3.598 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/7.171, allocations: 87.09 kB / 3.598 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/7.171, allocations: 3.25 kB / 3.598 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/7.171, allocations: 0 / 3.598 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007817/7.172, allocations: 0.7837 MB / 3.599 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/7.174, allocations: 1.563 MB / 3.601 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/7.174, allocations: 10.91 kB / 3.601 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/7.175, allocations: 113.7 kB / 3.601 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/7.175, allocations: 58.44 kB / 3.601 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/7.175, allocations: 14.02 kB / 3.601 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/7.176, allocations: 1.535 MB / 3.602 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/7.176, allocations: 4.844 kB / 3.602 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/7.177, allocations: 1.098 MB / 3.603 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/7.178, allocations: 213.7 kB / 3.604 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/7.178, allocations: 6.25 kB / 3.604 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/7.178, allocations: 52.39 kB / 3.604 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/7.179, allocations: 46.41 kB / 3.604 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/7.179, allocations: 29.77 kB / 3.604 GB, free: 287.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004552/7.179, allocations: 407 kB / 3.604 GB, free: 287.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/7.179, allocations: 0 / 3.604 GB, free: 287.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001428/7.18, allocations: 371.5 kB / 3.604 GB, free: 287.3 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.003324/7.184, allocations: 3.855 MB / 3.608 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001044/7.185, allocations: 0.6942 MB / 3.609 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/7.185, allocations: 3.594 kB / 3.609 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000412/7.185, allocations: 356.8 kB / 3.609 GB, free: 284.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/7.188, allocations: 456.9 kB / 3.61 GB, free: 284.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/7.19, allocations: 1.523 MB / 3.611 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/7.191, allocations: 1.106 MB / 3.612 GB, free: 283.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000779/7.192, allocations: 186.6 kB / 3.612 GB, free: 283.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/7.192, allocations: 341.6 kB / 3.613 GB, free: 283.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.334e-06/7.192, allocations: 3.938 kB / 3.613 GB, free: 283.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06269/7.255, allocations: 31.75 MB / 3.644 GB, free: 282.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/7.255, allocations: 193.5 kB / 3.644 GB, free: 282.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/10.34, allocations: 0 / 3.644 GB, free: 282.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat does not exist to compare? outputFormat=mat