Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.0008905/0.0008905, allocations: 86.56 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.0009737/0.0009738, 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.438/1.438, allocations: 223.2 MB / 240 MB, free: 5.434 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.381/2.381, allocations: 390.4 MB / 0.6655 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.000375, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7757, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03173/0.8075, allocations: 24.14 MB / 0.9774 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.8199, allocations: 6.672 MB / 0.9839 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.8215, allocations: 33.66 kB / 0.984 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.8226, allocations: 280.5 kB / 0.9842 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.8258, allocations: 0.8867 MB / 0.9851 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.8285, allocations: 0.7406 MB / 0.9858 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003832/0.8323, allocations: 2.383 MB / 0.9881 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009909/0.8333, allocations: 470.8 kB / 0.9886 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.8347, allocations: 0.5903 MB / 0.9892 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.8354, allocations: 0.4977 MB / 0.9897 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.8355, allocations: 24 kB / 0.9897 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.8373, allocations: 0.6081 MB / 0.9903 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.8375, allocations: 127.4 kB / 0.9904 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.8377, allocations: 165.3 kB / 0.9906 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.8389, allocations: 0.8573 MB / 0.9914 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.8389, allocations: 0 / 0.9914 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.729e-06/0.8389, allocations: 4 kB / 0.9914 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.8389, allocations: 3.938 kB / 0.9914 GB, free: 9.562 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001459/0.8404, allocations: 0.9228 MB / 0.9923 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8404, allocations: 8.031 kB / 0.9923 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.8406, allocations: 86.45 kB / 0.9924 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.8408, allocations: 91.05 kB / 0.9925 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.842, allocations: 0.6976 MB / 0.9932 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.8421, allocations: 37 kB / 0.9932 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.8422, allocations: 55.86 kB / 0.9932 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.843, allocations: 0.4962 MB / 0.9937 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.843, allocations: 3.938 kB / 0.9937 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.8431, allocations: 16 kB / 0.9938 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.8431, allocations: 12 kB / 0.9938 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.8436, allocations: 319.7 kB / 0.9941 GB, free: 6.695 MB / 0.7481 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.002896/0.8465, allocations: 2.733 MB / 0.9967 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.8469, allocations: 195 kB / 0.9969 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.8471, allocations: 109.1 kB / 0.997 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.8474, allocations: 348.6 kB / 0.9974 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.8475, allocations: 38.75 kB / 0.9974 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.8475, allocations: 0 / 0.9974 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0005645/0.848, allocations: 304.1 kB / 0.9977 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.8481, allocations: 59.34 kB / 0.9977 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.8487, allocations: 0.5068 MB / 0.9982 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.8487, allocations: 37.69 kB / 0.9983 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.849, allocations: 343.3 kB / 0.9986 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.8491, allocations: 86.83 kB / 0.9987 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.8491, allocations: 4 kB / 0.9987 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.8493, allocations: 358.8 kB / 0.999 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.8495, allocations: 87.95 kB / 0.9991 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.8498, allocations: 237.9 kB / 0.9993 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.85, allocations: 130 kB / 0.9995 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.85, allocations: 4 kB / 0.9995 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006413/0.8507, allocations: 392.4 kB / 0.9998 GB, free: 336 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.8509, allocations: 210.1 kB / 1 GB, free: 64 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8509, allocations: 7.984 kB / 1 GB, free: 56 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8509, allocations: 4 kB / 1 GB, free: 52 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.8512, allocations: 83.84 kB / 1 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8512, allocations: 4 kB / 1 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.8516, allocations: 55.66 kB / 1 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.8517, allocations: 16 kB / 1 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-06/0.8517, allocations: 8 kB / 1 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004491/0.8521, allocations: 302.9 kB / 1.001 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8522, allocations: 12.5 kB / 1.001 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.8522, allocations: 8 kB / 1.001 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.8524, allocations: 83.83 kB / 1.001 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.8524, allocations: 11.95 kB / 1.001 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.8527, allocations: 43.67 kB / 1.001 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.8528, allocations: 23.98 kB / 1.001 GB, free: 15.41 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0002755/0.8531, allocations: 280.9 kB / 1.001 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.8532, allocations: 55.34 kB / 1.001 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.8537, allocations: 278.5 kB / 1.001 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.8537, allocations: 4 kB / 1.001 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.8537, allocations: 7.953 kB / 1.001 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004659/0.8542, allocations: 386.3 kB / 1.002 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.8559, allocations: 1.05 MB / 1.003 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8559, allocations: 8.281 kB / 1.003 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.8562, allocations: 51.91 kB / 1.003 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.8562, allocations: 4 kB / 1.003 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.8562, allocations: 8 kB / 1.003 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.8562, allocations: 4 kB / 1.003 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8562, allocations: 4 kB / 1.003 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.8571, allocations: 0.5158 MB / 1.003 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.8574, allocations: 188.2 kB / 1.003 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.8575, allocations: 12.06 kB / 1.003 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.8578, allocations: 31.59 kB / 1.003 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.8579, allocations: 19.92 kB / 1.003 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.8579, allocations: 23.98 kB / 1.004 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004738/0.8584, allocations: 395 kB / 1.004 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8584, allocations: 0 / 1.004 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000969/0.8594, allocations: 343.3 kB / 1.004 GB, free: 11.56 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001502/0.8609, allocations: 1.225 MB / 1.005 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006487/0.8615, allocations: 396.5 kB / 1.006 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8615, allocations: 3.938 kB / 1.006 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.8617, allocations: 116.6 kB / 1.006 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.8634, allocations: 369.2 kB / 1.006 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.8683, allocations: 3.287 MB / 1.009 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.8689, allocations: 0.8983 MB / 1.01 GB, free: 5.098 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000622/0.8695, allocations: 149.1 kB / 1.01 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.8699, allocations: 223.4 kB / 1.011 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of SimCode: time 2.054e-06/0.8699, allocations: 0 / 1.011 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.9052, allocations: 17.66 MB / 1.028 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.9055, allocations: 234.9 kB / 1.028 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.1, allocations: 0 / 1.028 GB, free: 3.168 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat does not exist to compare? outputFormat=mat