Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.001013/0.001013, allocations: 86.8 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.001212/0.001212, 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.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.422 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.452/2.452, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004024, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8803, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2308/1.111, allocations: 201.5 MB / 1.151 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01029/1.121, allocations: 5.41 MB / 1.156 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/1.123, allocations: 31.75 kB / 1.156 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/1.124, allocations: 393.5 kB / 1.156 GB, free: 312 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.00346/1.128, allocations: 1.232 MB / 1.158 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/1.131, allocations: 0.8903 MB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003839/1.134, allocations: 2.991 MB / 1.161 GB, free: 11.2 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/1.136, allocations: 0.671 MB / 1.162 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/1.138, allocations: 0.8674 MB / 1.163 GB, free: 9.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/1.139, allocations: 0.7861 MB / 1.164 GB, free: 8.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/1.139, allocations: 36 kB / 1.164 GB, free: 8.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/1.142, allocations: 0.9236 MB / 1.165 GB, free: 7.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/1.142, allocations: 339 kB / 1.165 GB, free: 7.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003715/1.143, allocations: 233.1 kB / 1.165 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/1.145, allocations: 1.391 MB / 1.166 GB, free: 5.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.145, allocations: 4 kB / 1.166 GB, free: 5.926 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/1.145, allocations: 3.938 kB / 1.166 GB, free: 5.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.145, allocations: 0 / 1.166 GB, free: 5.922 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002236/1.147, allocations: 1.235 MB / 1.168 GB, free: 4.633 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.147, allocations: 12.03 kB / 1.168 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/1.147, allocations: 122.6 kB / 1.168 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/1.15, allocations: 434.3 kB / 1.168 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.151, allocations: 0.7382 MB / 1.169 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/1.151, allocations: 121.9 kB / 1.169 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.152, allocations: 83.86 kB / 1.169 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/1.154, allocations: 1.01 MB / 1.17 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.154, allocations: 3.938 kB / 1.17 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/1.154, allocations: 36 kB / 1.17 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/1.154, allocations: 33.94 kB / 1.17 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/1.156, allocations: 0.9134 MB / 1.171 GB, free: 1.074 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.005991/1.162, allocations: 3.517 MB / 1.174 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/1.163, allocations: 0.6437 MB / 1.175 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007358/1.164, allocations: 361.6 kB / 1.175 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/1.164, allocations: 101.1 kB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.164, allocations: 54.42 kB / 1.176 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/1.164, allocations: 0 / 1.176 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.004968/1.169, allocations: 1.981 MB / 1.178 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/1.169, allocations: 55.41 kB / 1.178 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/1.17, allocations: 0.7744 MB / 1.178 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/1.17, allocations: 33.7 kB / 1.178 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/1.171, allocations: 451.5 kB / 1.179 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.171, allocations: 145.9 kB / 1.179 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/1.171, allocations: 16 kB / 1.179 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.171, allocations: 326 kB / 1.179 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/1.172, allocations: 332.8 kB / 1.18 GB, free: 8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/1.173, allocations: 459.5 kB / 1.18 GB, free: 7.504 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.003519/1.176, allocations: 1.342 MB / 1.181 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.176, allocations: 3.953 kB / 1.181 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001907/1.178, allocations: 0.8815 MB / 1.182 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.178, allocations: 13.03 kB / 1.182 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.178, allocations: 11.98 kB / 1.182 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.178, allocations: 4 kB / 1.182 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/1.179, allocations: 183.8 kB / 1.182 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.179, allocations: 7.938 kB / 1.182 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/1.18, allocations: 99.75 kB / 1.182 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/1.18, allocations: 20 kB / 1.183 GB, free: 4.922 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 (65): * Single equations (assignments): 65 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004805/1.18, allocations: 287.8 kB / 1.183 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/1.18, allocations: 90.92 kB / 1.183 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/1.181, allocations: 96.08 kB / 1.183 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.181, allocations: 4 kB / 1.183 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.181, allocations: 0 / 1.183 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/1.182, allocations: 0.7305 MB / 1.184 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/1.186, allocations: 1.958 MB / 1.186 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.186, allocations: 4.406 kB / 1.186 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/1.187, allocations: 171.7 kB / 1.186 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.187, allocations: 7.953 kB / 1.186 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/1.187, allocations: 12 kB / 1.186 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.187, allocations: 7.938 kB / 1.186 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.187, allocations: 4 kB / 1.186 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/1.189, allocations: 1.279 MB / 1.187 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/1.19, allocations: 236 kB / 1.187 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/1.19, allocations: 15.94 kB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/1.191, allocations: 98.91 kB / 1.187 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/1.191, allocations: 39.89 kB / 1.187 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/1.191, allocations: 27.98 kB / 1.187 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006906/1.191, allocations: 0.5341 MB / 1.188 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.191, allocations: 0 / 1.188 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008144/1.192, allocations: 244 kB / 1.188 GB, free: 14.89 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 (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00313/1.195, allocations: 1.927 MB / 1.19 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001754/1.197, allocations: 0.7245 MB / 1.191 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.197, allocations: 0 / 1.191 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007716/1.198, allocations: 349.2 kB / 1.191 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/1.2, allocations: 0.5071 MB / 1.192 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.211, allocations: 5.613 MB / 1.197 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/1.212, allocations: 1.044 MB / 1.198 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001219/1.213, allocations: 231 kB / 1.198 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/1.213, allocations: 319.3 kB / 1.199 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/1.213, allocations: 0 / 1.199 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/1.261, allocations: 24.99 MB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.262, allocations: 272.5 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.493, allocations: 2.812 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat