Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.376/2.376, allocations: 390.5 MB / 398 MB, free: 10.93 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.001094/0.001094, allocations: 191.7 kB / 491.2 MB, free: 1.555 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.6/1.6, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001052/0.001052, allocations: 89.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/2.905e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3767, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.215/6.592, allocations: 1.92 GB / 3.132 GB, free: 409.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/6.592, allocations: 87.95 kB / 3.132 GB, free: 409.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.664/8.256, allocations: 463.6 MB / 3.585 GB, free: 297.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/8.256, allocations: 0 / 3.585 GB, free: 297.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001284/8.257, allocations: 31.06 kB / 3.585 GB, free: 297.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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003493/8.26, allocations: 1.248 MB / 3.586 GB, free: 296.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/8.26, allocations: 7.625 kB / 3.586 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/8.263, allocations: 306.6 kB / 3.586 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/8.265, allocations: 0.8553 MB / 3.587 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/8.265, allocations: 27.47 kB / 3.587 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/8.265, allocations: 52.12 kB / 3.587 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001721/8.267, allocations: 0.7213 MB / 3.588 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/8.269, allocations: 0.8261 MB / 3.589 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/8.269, allocations: 7.797 kB / 3.589 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/8.269, allocations: 3.469 kB / 3.589 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/8.269, allocations: 29 kB / 3.589 GB, free: 296.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.005807/8.275, allocations: 3.273 MB / 3.592 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/8.275, allocations: 437.6 kB / 3.592 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/8.276, allocations: 249.7 kB / 3.593 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/8.276, allocations: 96.61 kB / 3.593 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/8.276, allocations: 46.94 kB / 3.593 GB, free: 295 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/8.276, allocations: 0 / 3.593 GB, free: 295 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003059/8.279, allocations: 1.308 MB / 3.594 GB, free: 294.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/8.279, allocations: 57.66 kB / 3.594 GB, free: 294.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/8.28, allocations: 0.5245 MB / 3.595 GB, free: 294.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/8.28, allocations: 25.7 kB / 3.595 GB, free: 294.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/8.28, allocations: 499.5 kB / 3.595 GB, free: 294.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/8.28, allocations: 164.4 kB / 3.595 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/8.281, allocations: 0 / 3.595 GB, free: 294.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001371/8.281, allocations: 386.6 kB / 3.596 GB, free: 293.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/8.281, allocations: 203.2 kB / 3.596 GB, free: 293.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/8.281, allocations: 344.5 kB / 3.596 GB, free: 293.6 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.002457/8.284, allocations: 0.9046 MB / 3.597 GB, free: 293.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/8.284, allocations: 7.594 kB / 3.597 GB, free: 293.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001124/8.285, allocations: 0.6762 MB / 3.598 GB, free: 293.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/8.285, allocations: 7.688 kB / 3.598 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/8.285, allocations: 2.844 kB / 3.598 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/8.285, allocations: 60.3 kB / 3.598 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/8.286, allocations: 134.4 kB / 3.598 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/8.288, allocations: 2.659 MB / 3.601 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/8.289, allocations: 61.12 kB / 3.601 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/8.289, allocations: 22.31 kB / 3.601 GB, free: 291 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/8.289, allocations: 115.3 kB / 3.601 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009256/8.29, allocations: 0.5242 MB / 3.601 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/8.29, allocations: 79.12 kB / 3.601 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/8.29, allocations: 81.91 kB / 3.601 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/8.29, allocations: 6.75 kB / 3.601 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/8.29, allocations: 0 / 3.601 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007131/8.291, allocations: 0.7596 MB / 3.602 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/8.294, allocations: 1.55 MB / 3.604 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/8.294, allocations: 3.906 kB / 3.604 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/8.294, allocations: 112.8 kB / 3.604 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/8.294, allocations: 34.06 kB / 3.604 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/8.294, allocations: 13.95 kB / 3.604 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008624/8.295, allocations: 1.362 MB / 3.605 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/8.295, allocations: 5.781 kB / 3.605 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/8.297, allocations: 1.074 MB / 3.606 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004876/8.297, allocations: 216.3 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/8.297, allocations: 11.3 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/8.298, allocations: 50.56 kB / 3.607 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/8.298, allocations: 43.67 kB / 3.607 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/8.298, allocations: 27.83 kB / 3.607 GB, free: 288.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006007/8.299, allocations: 406.9 kB / 3.607 GB, free: 288 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.299, allocations: 0 / 3.607 GB, free: 288 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001812/8.301, allocations: 354.7 kB / 3.607 GB, free: 288 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 (47): * Single equations (assignments): 46 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004724/8.306, allocations: 3.839 MB / 3.611 GB, free: 285.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001333/8.307, allocations: 0.6987 MB / 3.612 GB, free: 285.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/8.307, allocations: 0 / 3.612 GB, free: 285.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/8.307, allocations: 345 kB / 3.612 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/8.31, allocations: 451.1 kB / 3.613 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/8.314, allocations: 1.555 MB / 3.614 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/8.314, allocations: 1.11 MB / 3.615 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009317/8.315, allocations: 192 kB / 3.615 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/8.316, allocations: 341.5 kB / 3.616 GB, free: 284.3 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/8.316, allocations: 3.938 kB / 3.616 GB, free: 284.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06405/8.38, allocations: 31.25 MB / 3.646 GB, free: 283 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/8.38, allocations: 202.1 kB / 3.646 GB, free: 282.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/11.25, allocations: 0 / 3.646 GB, free: 282.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat does not exist to compare? outputFormat=mat