Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.32/2.32, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001382/0.001382, allocations: 176.9 kB / 487.4 MB, free: 5.07 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.488/1.488, 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.0009191/0.0009191, allocations: 104 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.476e-05, allocations: 6.188 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2613, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.35/5.612, allocations: 1.919 GB / 3.125 GB, free: 431.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/5.612, allocations: 90.77 kB / 3.125 GB, free: 431.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.772/7.384, allocations: 463.6 MB / 3.578 GB, free: 302.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.589e-06/7.384, allocations: 0 / 3.578 GB, free: 302.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000248/7.384, allocations: 27.69 kB / 3.578 GB, free: 302.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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00496/7.389, allocations: 1.242 MB / 3.579 GB, free: 302.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.61e-05/7.389, allocations: 16.08 kB / 3.579 GB, free: 302.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/7.392, allocations: 318.1 kB / 3.579 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/7.394, allocations: 0.8427 MB / 3.58 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/7.394, allocations: 30.12 kB / 3.58 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/7.394, allocations: 49.5 kB / 3.58 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00181/7.396, allocations: 0.7202 MB / 3.581 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/7.398, allocations: 0.8325 MB / 3.582 GB, free: 302 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/7.398, allocations: 2.031 kB / 3.582 GB, free: 302 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/7.398, allocations: 2.594 kB / 3.582 GB, free: 302 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/7.398, allocations: 33.98 kB / 3.582 GB, free: 302 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.006287/7.405, allocations: 3.273 MB / 3.585 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/7.405, allocations: 429.2 kB / 3.585 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/7.406, allocations: 257.9 kB / 3.586 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/7.406, allocations: 105.4 kB / 3.586 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/7.406, allocations: 45.47 kB / 3.586 GB, free: 300.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.968e-06/7.406, allocations: 0 / 3.586 GB, free: 300.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003567/7.41, allocations: 1.303 MB / 3.587 GB, free: 300.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/7.41, allocations: 57.06 kB / 3.587 GB, free: 300.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/7.411, allocations: 0.5228 MB / 3.588 GB, free: 300 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/7.411, allocations: 27.17 kB / 3.588 GB, free: 300 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/7.411, allocations: 492.6 kB / 3.588 GB, free: 299.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/7.411, allocations: 173.8 kB / 3.588 GB, free: 299.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/7.411, allocations: 1.031 kB / 3.588 GB, free: 299.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001753/7.412, allocations: 382 kB / 3.589 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/7.412, allocations: 203.7 kB / 3.589 GB, free: 299.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/7.412, allocations: 348 kB / 3.589 GB, free: 299.2 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.00282/7.415, allocations: 0.9147 MB / 3.59 GB, free: 299.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.415, allocations: 0 / 3.59 GB, free: 299.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001322/7.417, allocations: 0.6767 MB / 3.591 GB, free: 299 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/7.417, allocations: 6.469 kB / 3.591 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/7.417, allocations: 7.547 kB / 3.591 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/7.417, allocations: 61.69 kB / 3.591 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/7.418, allocations: 133.2 kB / 3.591 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/7.42, allocations: 2.65 MB / 3.593 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/7.421, allocations: 55.25 kB / 3.594 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/7.421, allocations: 22.44 kB / 3.594 GB, free: 296.6 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.0002403/7.421, allocations: 129.4 kB / 3.594 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001097/7.422, allocations: 0.5245 MB / 3.594 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/7.422, allocations: 79.5 kB / 3.594 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/7.423, allocations: 86.33 kB / 3.594 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/7.423, allocations: 5.438 kB / 3.594 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/7.423, allocations: 0 / 3.594 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/7.424, allocations: 0.761 MB / 3.595 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/7.427, allocations: 1.541 MB / 3.597 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/7.427, allocations: 3.469 kB / 3.597 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/7.428, allocations: 115.3 kB / 3.597 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/7.428, allocations: 34.64 kB / 3.597 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/7.428, allocations: 10.16 kB / 3.597 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/7.429, allocations: 1.358 MB / 3.598 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/7.429, allocations: 5.906 kB / 3.598 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/7.431, allocations: 1.069 MB / 3.599 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/7.431, allocations: 221.6 kB / 3.599 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/7.431, allocations: 12.28 kB / 3.599 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/7.432, allocations: 49.48 kB / 3.599 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/7.432, allocations: 47.97 kB / 3.599 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/7.432, allocations: 28.22 kB / 3.599 GB, free: 293.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000744/7.433, allocations: 406.4 kB / 3.6 GB, free: 293.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.433, allocations: 3.938 kB / 3.6 GB, free: 293.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002109/7.435, allocations: 351.9 kB / 3.6 GB, free: 293.5 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.005762/7.441, allocations: 3.847 MB / 3.604 GB, free: 291.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001277/7.442, allocations: 0.7015 MB / 3.605 GB, free: 291.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/7.442, allocations: 0 / 3.605 GB, free: 291.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/7.443, allocations: 354.3 kB / 3.605 GB, free: 291.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/7.445, allocations: 450.3 kB / 3.605 GB, free: 291.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/7.449, allocations: 1.544 MB / 3.607 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/7.449, allocations: 1.105 MB / 3.608 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008649/7.45, allocations: 192.5 kB / 3.608 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/7.451, allocations: 342 kB / 3.608 GB, free: 289.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/7.451, allocations: 0 / 3.608 GB, free: 289.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07259/7.523, allocations: 31.25 MB / 3.639 GB, free: 289.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/7.524, allocations: 191.8 kB / 3.639 GB, free: 288.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/10.76, allocations: 3.938 kB / 3.639 GB, free: 288.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat does not exist to compare? outputFormat=mat