Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.0009772/0.0009773, allocations: 85.94 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.001182/0.001182, 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.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.41 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.438/2.438, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8324, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04263/0.8752, allocations: 37.07 MB / 0.9901 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00874/0.884, allocations: 3.863 MB / 0.9938 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.8855, allocations: 35.75 kB / 0.9939 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.8866, allocations: 258.3 kB / 0.9941 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006908/0.8935, allocations: 2.05 MB / 0.9961 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.8961, allocations: 0.7096 MB / 0.9968 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003931/0.9, allocations: 2.471 MB / 0.9992 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009828/0.901, allocations: 485.2 kB / 0.9997 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005095/0.9061, allocations: 2.342 MB / 1.002 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.9077, allocations: 0.5132 MB / 1.002 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-05/0.9078, allocations: 24 kB / 1.002 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008142/0.9159, allocations: 2.972 MB / 1.005 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.9163, allocations: 127.5 kB / 1.006 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005211/0.9169, allocations: 169.3 kB / 1.006 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.9201, allocations: 1.243 MB / 1.007 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.9201, allocations: 4 kB / 1.007 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.956e-06/0.9201, allocations: 3.938 kB / 1.007 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.9202, allocations: 0 / 1.007 GB, free: 9.691 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002081/0.9223, allocations: 1.047 MB / 1.008 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.9223, allocations: 12.03 kB / 1.008 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.9225, allocations: 82.53 kB / 1.008 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.9236, allocations: 155 kB / 1.008 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.925, allocations: 0.7715 MB / 1.009 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.9251, allocations: 37 kB / 1.009 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.9252, allocations: 48 kB / 1.009 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/0.9261, allocations: 0.5156 MB / 1.009 GB, free: 6.891 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.9261, allocations: 4 kB / 1.009 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.9261, allocations: 16 kB / 1.01 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.9262, allocations: 12 kB / 1.01 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005476/0.9267, allocations: 335.7 kB / 1.01 GB, free: 6.531 MB / 0.7637 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.00282/0.9295, allocations: 2.44 MB / 1.012 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.93, allocations: 280.5 kB / 1.012 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.9302, allocations: 136.8 kB / 1.013 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.9313, allocations: 1.374 MB / 1.014 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.9313, allocations: 38.56 kB / 1.014 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=31): time 2.355e-06/0.9313, allocations: 0 / 1.014 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.004261/0.9356, allocations: 1.788 MB / 1.016 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.9357, allocations: 63.34 kB / 1.016 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.9363, allocations: 495.1 kB / 1.016 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.9363, allocations: 37.7 kB / 1.016 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.9366, allocations: 328.4 kB / 1.017 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.9367, allocations: 145.9 kB / 1.017 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.9368, allocations: 8 kB / 1.017 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.937, allocations: 370.7 kB / 1.017 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.9372, allocations: 145.1 kB / 1.017 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.9375, allocations: 270.7 kB / 1.018 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.9378, allocations: 185.8 kB / 1.018 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9378, allocations: 0 / 1.018 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009768/0.9388, allocations: 0.615 MB / 1.018 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.939, allocations: 175.6 kB / 1.018 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.939, allocations: 4 kB / 1.018 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/0.9397, allocations: 193.5 kB / 1.019 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.94, allocations: 75.84 kB / 1.019 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.9411, allocations: 1.339 MB / 1.02 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.9416, allocations: 40.03 kB / 1.02 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.9416, allocations: 24 kB / 1.02 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.9417, allocations: 4 kB / 1.02 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009332/0.9426, allocations: 0.5247 MB / 1.021 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.9426, allocations: 4 kB / 1.021 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/0.9432, allocations: 197.5 kB / 1.021 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.9434, allocations: 67.91 kB / 1.021 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000929/0.9444, allocations: 1.339 MB / 1.022 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.9448, allocations: 43.94 kB / 1.022 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.9448, allocations: 20 kB / 1.022 GB, free: 8.961 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004003/0.9452, allocations: 292 kB / 1.023 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.9454, allocations: 59.34 kB / 1.023 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.9466, allocations: 0.6377 MB / 1.023 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9466, allocations: 8 kB / 1.023 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9466, allocations: 0 / 1.023 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00086/0.9475, allocations: 0.6431 MB / 1.024 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.9497, allocations: 1.449 MB / 1.025 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.9498, allocations: 0 / 1.025 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.9499, allocations: 43.98 kB / 1.025 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009142/0.9509, allocations: 225.6 kB / 1.026 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.9509, allocations: 15.98 kB / 1.026 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.952, allocations: 1.327 MB / 1.027 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.952, allocations: 0 / 1.027 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.9533, allocations: 0.8785 MB / 1.028 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.9536, allocations: 200.3 kB / 1.028 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.9537, allocations: 8 kB / 1.028 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.9541, allocations: 35.89 kB / 1.028 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.9542, allocations: 27.95 kB / 1.028 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.9542, allocations: 19.98 kB / 1.028 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004353/0.9547, allocations: 346.8 kB / 1.028 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9547, allocations: 0 / 1.028 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001411/0.9561, allocations: 447.8 kB / 1.029 GB, free: 2.094 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002805/0.9589, allocations: 1.757 MB / 1.03 GB, free: 316 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.9604, allocations: 0.6456 MB / 1.031 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9604, allocations: 0 / 1.031 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.9609, allocations: 247.7 kB / 1.031 GB, free: 15.42 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.9626, allocations: 323.3 kB / 1.032 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.9685, allocations: 3.683 MB / 1.035 GB, free: 11.33 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.9691, allocations: 0.9105 MB / 1.036 GB, free: 10.39 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007817/0.9699, allocations: 207.4 kB / 1.036 GB, free: 10.19 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.9703, allocations: 243.3 kB / 1.037 GB, free: 9.953 MB / 0.795 GB Notification: Performance of SimCode: time 2.455e-06/0.9703, allocations: 0 / 1.037 GB, free: 9.953 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/1.017, allocations: 22.14 MB / 1.058 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003615/1.017, allocations: 276.5 kB / 1.058 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.386, allocations: 0 / 1.058 GB, free: 3.848 MB / 0.8106 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat does not exist to compare? outputFormat=mat