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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.544/2.544, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004089, allocations: 19.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8755, allocations: 142.3 MB / 0.9536 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2103/1.086, allocations: 182.1 MB / 1.131 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01/1.096, allocations: 5.645 MB / 1.137 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/1.098, allocations: 35.75 kB / 1.137 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/1.1, allocations: 0.5715 MB / 1.138 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/1.105, allocations: 1.671 MB / 1.139 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/1.109, allocations: 1.19 MB / 1.14 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003295/1.112, allocations: 1.685 MB / 1.142 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/1.114, allocations: 0.7386 MB / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/1.115, allocations: 0.7824 MB / 1.143 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/1.117, allocations: 0.5837 MB / 1.144 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/1.117, allocations: 40 kB / 1.144 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/1.119, allocations: 0.6084 MB / 1.145 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004507/1.12, allocations: 355 kB / 1.145 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/1.12, allocations: 261.1 kB / 1.145 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/1.122, allocations: 1.391 MB / 1.147 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.122, allocations: 0 / 1.147 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.765e-06/1.122, allocations: 4 kB / 1.147 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.202e-05/1.122, allocations: 0 / 1.147 GB, free: 10.18 MB / 0.9044 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.002854/1.125, allocations: 1.266 MB / 1.148 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.46e-05/1.125, allocations: 8.031 kB / 1.148 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/1.125, allocations: 139.3 kB / 1.148 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/1.127, allocations: 318.2 kB / 1.148 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.129, allocations: 0.7973 MB / 1.149 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/1.129, allocations: 62 kB / 1.149 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.129, allocations: 87.95 kB / 1.149 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.131, allocations: 0.9014 MB / 1.15 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/1.131, allocations: 4 kB / 1.15 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/1.131, allocations: 36 kB / 1.15 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/1.131, allocations: 37.98 kB / 1.15 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/1.133, allocations: 0.8354 MB / 1.151 GB, free: 5.59 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006078/1.139, allocations: 3.545 MB / 1.154 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/1.14, allocations: 0.4901 MB / 1.155 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.844e-05/1.14, allocations: 16.42 kB / 1.155 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.14, allocations: 39 kB / 1.155 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/1.14, allocations: 0 / 1.155 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.003978/1.144, allocations: 1.9 MB / 1.157 GB, free: 15.26 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.144, allocations: 59.84 kB / 1.157 GB, free: 15.19 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.145, allocations: 0.8019 MB / 1.158 GB, free: 14.38 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/1.145, allocations: 41.7 kB / 1.158 GB, free: 14.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/1.145, allocations: 475.3 kB / 1.158 GB, free: 13.87 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/1.146, allocations: 173.5 kB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/1.146, allocations: 12 kB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.146, allocations: 330 kB / 1.159 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/1.146, allocations: 253.1 kB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/1.147, allocations: 380.7 kB / 1.159 GB, free: 12.69 MB / 0.92 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.002773/1.15, allocations: 1.002 MB / 1.16 GB, free: 11.67 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.15, allocations: 0 / 1.16 GB, free: 11.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001363/1.151, allocations: 0.7961 MB / 1.161 GB, free: 10.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.151, allocations: 8.344 kB / 1.161 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.151, allocations: 8 kB / 1.161 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/1.151, allocations: 65.69 kB / 1.161 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/1.152, allocations: 159.7 kB / 1.161 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/1.154, allocations: 2.916 MB / 1.164 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.155, allocations: 71.95 kB / 1.164 GB, free: 7.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/1.156, allocations: 20 kB / 1.164 GB, free: 7.352 MB / 0.92 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 () * Number of clocked 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.0005827/1.156, allocations: 303.5 kB / 1.164 GB, free: 7.047 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/1.156, allocations: 94.88 kB / 1.165 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/1.156, allocations: 104.7 kB / 1.165 GB, free: 6.84 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.156, allocations: 4 kB / 1.165 GB, free: 6.836 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.156, allocations: 0 / 1.165 GB, free: 6.836 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/1.158, allocations: 0.8505 MB / 1.165 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/1.161, allocations: 1.799 MB / 1.167 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.161, allocations: 11.94 kB / 1.167 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/1.161, allocations: 144.2 kB / 1.167 GB, free: 3.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/1.161, allocations: 40.83 kB / 1.167 GB, free: 3.805 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/1.161, allocations: 12 kB / 1.167 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/1.163, allocations: 1.499 MB / 1.169 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.163, allocations: 7.938 kB / 1.169 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/1.164, allocations: 1.23 MB / 1.17 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/1.165, allocations: 239.9 kB / 1.17 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.165, allocations: 16.06 kB / 1.17 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/1.166, allocations: 69.44 kB / 1.17 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.166, allocations: 35.89 kB / 1.17 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/1.166, allocations: 27.98 kB / 1.17 GB, free: 396 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007485/1.167, allocations: 0.5614 MB / 1.171 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.167, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00091/1.168, allocations: 280 kB / 1.171 GB, free: 15.56 MB / 0.9356 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 () * Number of clocked 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.002444/1.17, allocations: 2.758 MB / 1.174 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001326/1.171, allocations: 0.8116 MB / 1.175 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.171, allocations: 0 / 1.175 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000557/1.172, allocations: 415.4 kB / 1.175 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.175, allocations: 0.5698 MB / 1.176 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009725/1.184, allocations: 7.351 MB / 1.183 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/1.185, allocations: 1.107 MB / 1.184 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001008/1.186, allocations: 219.7 kB / 1.184 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/1.187, allocations: 343.3 kB / 1.185 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of SimCode: time 7.31e-07/1.187, allocations: 0 / 1.185 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04927/1.236, allocations: 26.78 MB / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.236, allocations: 285.5 kB / 1.211 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/3.479, allocations: 4 kB / 1.211 GB, free: 6.922 MB / 0.9669 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