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.0009915/0.0009916, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001238/0.001239, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 223.2 MB / 240 MB, free: 5.414 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.5/2.5, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 15.98 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8952, allocations: 142.3 MB / 0.9539 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2318/1.127, allocations: 201.5 MB / 1.151 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008802/1.136, allocations: 5.4 MB / 1.156 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/1.137, allocations: 31.81 kB / 1.156 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/1.139, allocations: 409.4 kB / 1.156 GB, free: 340 kB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004123/1.143, allocations: 1.376 MB / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/1.146, allocations: 0.8464 MB / 1.158 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004835/1.151, allocations: 3.447 MB / 1.162 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/1.152, allocations: 0.7229 MB / 1.163 GB, free: 9.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/1.154, allocations: 0.8907 MB / 1.163 GB, free: 9.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/1.156, allocations: 0.8795 MB / 1.164 GB, free: 8.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/1.156, allocations: 40 kB / 1.164 GB, free: 8.102 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/1.158, allocations: 0.7015 MB / 1.165 GB, free: 7.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004935/1.159, allocations: 394.8 kB / 1.165 GB, free: 7.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005004/1.159, allocations: 257.1 kB / 1.166 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/1.161, allocations: 1.477 MB / 1.167 GB, free: 5.277 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.162, allocations: 0 / 1.167 GB, free: 5.277 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/1.162, allocations: 0 / 1.167 GB, free: 5.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.287e-05/1.162, allocations: 0 / 1.167 GB, free: 5.277 MB / 0.92 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.002466/1.164, allocations: 1.285 MB / 1.168 GB, free: 3.938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.164, allocations: 12.03 kB / 1.168 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/1.164, allocations: 139.3 kB / 1.168 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/1.166, allocations: 322.2 kB / 1.169 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.167, allocations: 0.7856 MB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/1.168, allocations: 66 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/1.168, allocations: 87.95 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.169, allocations: 0.917 MB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.169, allocations: 0 / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/1.169, allocations: 36 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/1.169, allocations: 37.92 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/1.171, allocations: 0.8393 MB / 1.171 GB, free: 0.6523 MB / 0.92 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.005293/1.176, allocations: 3.541 MB / 1.175 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/1.177, allocations: 0.4925 MB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/1.177, allocations: 301 kB / 1.176 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/1.178, allocations: 105.5 kB / 1.176 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.178, allocations: 39 kB / 1.176 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/1.178, allocations: 3.938 kB / 1.176 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.003557/1.181, allocations: 1.903 MB / 1.178 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/1.181, allocations: 59.84 kB / 1.178 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/1.182, allocations: 0.8018 MB / 1.179 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/1.182, allocations: 41.7 kB / 1.179 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/1.183, allocations: 475.3 kB / 1.179 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/1.183, allocations: 173.5 kB / 1.179 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/1.183, allocations: 16 kB / 1.179 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.183, allocations: 326 kB / 1.18 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/1.183, allocations: 249.2 kB / 1.18 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/1.184, allocations: 392.6 kB / 1.18 GB, free: 7.34 MB / 0.9356 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.002561/1.186, allocations: 0.9902 MB / 1.181 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.186, allocations: 4 kB / 1.181 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001314/1.188, allocations: 0.7965 MB / 1.182 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.188, allocations: 8 kB / 1.182 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.188, allocations: 4 kB / 1.182 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/1.188, allocations: 77.56 kB / 1.182 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/1.189, allocations: 159.8 kB / 1.182 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/1.191, allocations: 2.873 MB / 1.185 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/1.192, allocations: 63.95 kB / 1.185 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/1.192, allocations: 27.98 kB / 1.185 GB, free: 2.047 MB / 0.9356 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.000503/1.192, allocations: 313.5 kB / 1.185 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.193, allocations: 94.88 kB / 1.185 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/1.193, allocations: 100.7 kB / 1.185 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.193, allocations: 8 kB / 1.186 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.193, allocations: 0 / 1.186 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/1.194, allocations: 0.8388 MB / 1.186 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/1.197, allocations: 1.807 MB / 1.188 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/1.197, allocations: 4 kB / 1.188 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/1.197, allocations: 144.2 kB / 1.188 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/1.198, allocations: 36.78 kB / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/1.198, allocations: 19.98 kB / 1.188 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/1.199, allocations: 1.48 MB / 1.19 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.199, allocations: 4 kB / 1.19 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/1.2, allocations: 1.08 MB / 1.191 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/1.201, allocations: 239.9 kB / 1.191 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.201, allocations: 15.98 kB / 1.191 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/1.202, allocations: 77.95 kB / 1.191 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/1.202, allocations: 35.89 kB / 1.191 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/1.202, allocations: 27.98 kB / 1.191 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007707/1.203, allocations: 0.5576 MB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.203, allocations: 3.938 kB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009878/1.204, allocations: 276 kB / 1.192 GB, free: 10.5 MB / 0.9512 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.002116/1.206, allocations: 1.709 MB / 1.194 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.207, allocations: 0.8 MB / 1.194 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.207, allocations: 4 kB / 1.194 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/1.208, allocations: 415.8 kB / 1.195 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.21, allocations: 0.5747 MB / 1.195 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/1.22, allocations: 5.457 MB / 1.201 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007453/1.221, allocations: 1.091 MB / 1.202 GB, free: 112 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001045/1.222, allocations: 219.7 kB / 1.202 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/1.222, allocations: 343.3 kB / 1.202 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/1.222, allocations: 0 / 1.202 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04926/1.271, allocations: 26.81 MB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.272, allocations: 282.1 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.607, allocations: 2.5 kB / 1.229 GB, free: 4.879 MB / 0.9825 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