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.189/2.189, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.00115/0.00115, allocations: 168.9 kB / 492.3 MB, free: 0.6367 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.422/1.422, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008468/0.0008468, allocations: 91.03 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.599e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2368, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.156/5.393, allocations: 1.919 GB / 3.132 GB, free: 410.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/5.393, allocations: 87.94 kB / 3.132 GB, free: 410.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.831/7.224, allocations: 469.1 MB / 3.59 GB, free: 296.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.755e-06/7.224, allocations: 0 / 3.59 GB, free: 296.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001766/7.224, allocations: 36.34 kB / 3.59 GB, free: 296.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.004247/7.228, allocations: 1.242 MB / 3.591 GB, free: 296.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/7.228, allocations: 11 kB / 3.591 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005405/7.229, allocations: 140 kB / 3.592 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/7.232, allocations: 303.4 kB / 3.592 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/7.234, allocations: 0.8476 MB / 3.593 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.71e-05/7.235, allocations: 69.62 kB / 3.593 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/7.235, allocations: 94.11 kB / 3.593 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/7.237, allocations: 0.9511 MB / 3.594 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/7.237, allocations: 3.891 kB / 3.594 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/7.238, allocations: 42.95 kB / 3.594 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/7.238, allocations: 33.03 kB / 3.594 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/7.239, allocations: 0.7556 MB / 3.595 GB, free: 295.9 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.006762/7.246, allocations: 3.475 MB / 3.598 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/7.247, allocations: 454.6 kB / 3.598 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/7.247, allocations: 265.7 kB / 3.599 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/7.247, allocations: 105.8 kB / 3.599 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/7.247, allocations: 55.86 kB / 3.599 GB, free: 294.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.897e-06/7.247, allocations: 0 / 3.599 GB, free: 294.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003394/7.251, allocations: 1.389 MB / 3.6 GB, free: 294 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/7.251, allocations: 64.72 kB / 3.6 GB, free: 294 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/7.252, allocations: 0.6951 MB / 3.601 GB, free: 293.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/7.252, allocations: 35.33 kB / 3.601 GB, free: 293.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/7.252, allocations: 480.9 kB / 3.601 GB, free: 293.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/7.253, allocations: 173.6 kB / 3.602 GB, free: 293.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/7.253, allocations: 17.66 kB / 3.602 GB, free: 293.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/7.253, allocations: 329 kB / 3.602 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/7.253, allocations: 216.8 kB / 3.602 GB, free: 293.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/7.254, allocations: 361.5 kB / 3.602 GB, free: 293.1 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.002634/7.256, allocations: 0.9394 MB / 3.603 GB, free: 293 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/7.256, allocations: 0 / 3.603 GB, free: 293 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001289/7.258, allocations: 0.7432 MB / 3.604 GB, free: 292.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/7.258, allocations: 5 kB / 3.604 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.258, allocations: 7.625 kB / 3.604 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/7.258, allocations: 64.91 kB / 3.604 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/7.258, allocations: 130 kB / 3.604 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/7.26, allocations: 2.761 MB / 3.607 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/7.262, allocations: 72.16 kB / 3.607 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/7.262, allocations: 21.88 kB / 3.607 GB, free: 290.3 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.0002151/7.262, allocations: 148.6 kB / 3.607 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/7.262, allocations: 93.56 kB / 3.607 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/7.262, allocations: 107.3 kB / 3.607 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/7.262, allocations: 3.844 kB / 3.607 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/7.262, allocations: 0 / 3.607 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007956/7.263, allocations: 0.7855 MB / 3.608 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/7.266, allocations: 1.705 MB / 3.61 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/7.266, allocations: 2.938 kB / 3.61 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/7.267, allocations: 108.4 kB / 3.61 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/7.267, allocations: 40.84 kB / 3.61 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/7.267, allocations: 14.94 kB / 3.61 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008826/7.268, allocations: 1.42 MB / 3.611 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/7.268, allocations: 3.625 kB / 3.611 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/7.269, allocations: 1.123 MB / 3.612 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/7.27, allocations: 240 kB / 3.613 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/7.27, allocations: 7.312 kB / 3.613 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/7.271, allocations: 68.08 kB / 3.613 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/7.271, allocations: 39.08 kB / 3.613 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/7.271, allocations: 33.45 kB / 3.613 GB, free: 287.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007783/7.272, allocations: 0.5493 MB / 3.613 GB, free: 287.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/7.272, allocations: 0 / 3.613 GB, free: 287.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001666/7.274, allocations: 391.1 kB / 3.614 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 (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.003868/7.278, allocations: 3.736 MB / 3.617 GB, free: 285.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001175/7.279, allocations: 0.7398 MB / 3.618 GB, free: 284.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/7.279, allocations: 7.156 kB / 3.618 GB, free: 284.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/7.279, allocations: 362.9 kB / 3.618 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.002874/7.282, allocations: 0.5641 MB / 3.619 GB, free: 284.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/7.286, allocations: 1.629 MB / 3.621 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/7.287, allocations: 1.103 MB / 3.622 GB, free: 283.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001069/7.288, allocations: 216.8 kB / 3.622 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/7.289, allocations: 353.8 kB / 3.622 GB, free: 283.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/7.289, allocations: 3.156 kB / 3.622 GB, free: 283.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09493/7.384, allocations: 49.26 MB / 3.67 GB, free: 278.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/7.384, allocations: 243 kB / 3.671 GB, free: 278.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.866/11.25, allocations: 3.75 kB / 3.671 GB, free: 278.6 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