Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0009291/0.0009292, allocations: 99.86 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.0009415/0.0009417, allocations: 177.3 kB / 15.94 MB, free: 228 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.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.59/2.59, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.000452, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8873/0.8878, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.1965/1.084, allocations: 164.9 MB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01506/1.1, allocations: 9.327 MB / 1.124 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/1.102, allocations: 47.69 kB / 1.124 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/1.104, allocations: 0.5324 MB / 1.124 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007371/1.111, allocations: 1.722 MB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/1.116, allocations: 1.369 MB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003825/1.12, allocations: 1.661 MB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/1.121, allocations: 0.8827 MB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/1.124, allocations: 1.18 MB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/1.126, allocations: 0.6534 MB / 1.132 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/1.126, allocations: 48 kB / 1.132 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/1.129, allocations: 1.049 MB / 1.133 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003664/1.129, allocations: 310.9 kB / 1.133 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/1.13, allocations: 281 kB / 1.133 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/1.132, allocations: 1.52 MB / 1.135 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/1.132, allocations: 0 / 1.135 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.184e-06/1.132, allocations: 0 / 1.135 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.75e-05/1.132, allocations: 0 / 1.135 GB, free: 6.262 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002907/1.135, allocations: 1.534 MB / 1.136 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.135, allocations: 12.03 kB / 1.136 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/1.136, allocations: 152.3 kB / 1.136 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/1.138, allocations: 377.8 kB / 1.137 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/1.139, allocations: 0.8824 MB / 1.138 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/1.139, allocations: 81.98 kB / 1.138 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/1.14, allocations: 104 kB / 1.138 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/1.142, allocations: 1.083 MB / 1.139 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/1.142, allocations: 15.92 kB / 1.139 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.584e-05/1.142, allocations: 40 kB / 1.139 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/1.142, allocations: 34 kB / 1.139 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/1.143, allocations: 0.8002 MB / 1.14 GB, free: 1 MB / 0.8887 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.006608/1.15, allocations: 5.074 MB / 1.145 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/1.151, allocations: 0.7117 MB / 1.145 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005636/1.152, allocations: 149.7 kB / 1.145 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.152, allocations: 39.12 kB / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 4.859e-06/1.152, allocations: 0 / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.001983/1.154, allocations: 0.9467 MB / 1.146 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/1.154, allocations: 55.97 kB / 1.146 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.155, allocations: 0.8725 MB / 1.147 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/1.155, allocations: 45.64 kB / 1.147 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/1.156, allocations: 0.5506 MB / 1.148 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/1.156, allocations: 248.4 kB / 1.148 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/1.156, allocations: 20 kB / 1.148 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.156, allocations: 337.9 kB / 1.148 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/1.157, allocations: 245.9 kB / 1.149 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/1.157, allocations: 439 kB / 1.149 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/1.158, allocations: 315.1 kB / 1.149 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.158, allocations: 0 / 1.149 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001437/1.159, allocations: 0.8275 MB / 1.15 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008082/1.16, allocations: 1.838 MB / 1.152 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/1.16, allocations: 8 kB / 1.152 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.16, allocations: 8 kB / 1.152 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.162, allocations: 255.6 kB / 1.152 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/1.163, allocations: 1.413 MB / 1.154 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009774/1.164, allocations: 124.1 kB / 1.154 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/1.164, allocations: 28 kB / 1.154 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.164, allocations: 4 kB / 1.154 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/1.165, allocations: 0.7101 MB / 1.155 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.165, allocations: 4 kB / 1.155 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.165, allocations: 8 kB / 1.155 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/1.167, allocations: 248.1 kB / 1.155 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/1.168, allocations: 1.405 MB / 1.156 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/1.169, allocations: 113.5 kB / 1.156 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/1.169, allocations: 31.98 kB / 1.156 GB, free: 15.04 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005596/1.17, allocations: 368.8 kB / 1.157 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.17, allocations: 110.6 kB / 1.157 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/1.171, allocations: 0.7979 MB / 1.158 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.172, allocations: 12 kB / 1.158 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.172, allocations: 0 / 1.158 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/1.173, allocations: 0.7039 MB / 1.158 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.176, allocations: 1.926 MB / 1.16 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.176, allocations: 4 kB / 1.16 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/1.177, allocations: 139.8 kB / 1.16 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/1.177, allocations: 48.81 kB / 1.16 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/1.177, allocations: 20.12 kB / 1.16 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/1.179, allocations: 1.363 MB / 1.162 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.179, allocations: 7.969 kB / 1.162 GB, free: 9.27 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/1.181, allocations: 1.302 MB / 1.163 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/1.181, allocations: 259.5 kB / 1.163 GB, free: 7.621 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.182, allocations: 16 kB / 1.163 GB, free: 7.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/1.182, allocations: 65.44 kB / 1.163 GB, free: 7.543 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/1.182, allocations: 44.5 kB / 1.163 GB, free: 7.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/1.182, allocations: 20 kB / 1.163 GB, free: 7.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008918/1.183, allocations: 0.5927 MB / 1.164 GB, free: 6.879 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.183, allocations: 4 kB / 1.164 GB, free: 6.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001565/1.185, allocations: 0.5297 MB / 1.164 GB, free: 6.344 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003076/1.188, allocations: 2.446 MB / 1.167 GB, free: 3.824 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003587/1.192, allocations: 1.178 MB / 1.168 GB, free: 2.648 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.192, allocations: 0 / 1.168 GB, free: 2.648 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009646/1.193, allocations: 450.3 kB / 1.168 GB, free: 2.199 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.196, allocations: 0.49 MB / 1.169 GB, free: 1.719 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.209, allocations: 9.581 MB / 1.178 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/1.21, allocations: 1.171 MB / 1.179 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001157/1.211, allocations: 280.8 kB / 1.18 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006147/1.212, allocations: 463.3 kB / 1.18 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/1.212, allocations: 0 / 1.18 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05454/1.266, allocations: 26.7 MB / 1.206 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.266, allocations: 254.1 kB / 1.206 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.633, allocations: 0 / 1.206 GB, free: 11.21 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat does not exist to compare? outputFormat=mat