Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.001701/0.001701, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 198.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.88 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2111, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6009/0.8121, allocations: 187.9 MB / 0.9671 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01347/0.8256, allocations: 10.71 MB / 0.9775 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.8272, allocations: 39.25 kB / 0.9776 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.8285, allocations: 495.8 kB / 0.9781 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006581/0.8351, allocations: 2.574 MB / 0.9806 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006442/0.8416, allocations: 2.464 MB / 0.983 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003526/0.8451, allocations: 2.753 MB / 0.9857 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009637/0.8461, allocations: 0.7664 MB / 0.9864 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.8476, allocations: 1.004 MB / 0.9874 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.8495, allocations: 1.062 MB / 0.9884 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.8496, allocations: 97.59 kB / 0.9885 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005925/0.8556, allocations: 2.999 MB / 0.9915 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.856, allocations: 440.6 kB / 0.9919 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006115/0.8567, allocations: 0.5786 MB / 0.9924 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/0.8616, allocations: 2.961 MB / 0.9953 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8616, allocations: 3.984 kB / 0.9953 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.175e-06/0.8616, allocations: 0 / 0.9953 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.8616, allocations: 2.094 kB / 0.9953 GB, free: 6.25 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003259/0.8649, allocations: 1.664 MB / 0.997 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.8649, allocations: 10.06 kB / 0.997 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.8651, allocations: 112.8 kB / 0.9971 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.8668, allocations: 297.3 kB / 0.9974 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8682, allocations: 0.8268 MB / 0.9982 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.8682, allocations: 52.56 kB / 0.9982 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.8684, allocations: 64.31 kB / 0.9983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.87, allocations: 0.9956 MB / 0.9992 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.87, allocations: 0 / 0.9992 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.8701, allocations: 26.69 kB / 0.9993 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.973e-05/0.8702, allocations: 81.66 kB / 0.9994 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.8717, allocations: 1.003 MB / 1 GB, free: 3.012 MB / 0.7325 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.005851/0.8776, allocations: 3.581 MB / 1.004 GB, free: 248 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/0.8786, allocations: 0.6549 MB / 1.004 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.8791, allocations: 381.5 kB / 1.005 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.8794, allocations: 190.9 kB / 1.005 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.8795, allocations: 44.09 kB / 1.005 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/0.8795, allocations: 0 / 1.005 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62): time 0.001832/0.8813, allocations: 1.025 MB / 1.006 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.8814, allocations: 110.2 kB / 1.006 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/0.8823, allocations: 0.798 MB / 1.007 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.8823, allocations: 39.86 kB / 1.007 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.8827, allocations: 425.2 kB / 1.007 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8829, allocations: 222.7 kB / 1.008 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.8831, allocations: 140 kB / 1.008 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8832, allocations: 333.6 kB / 1.008 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.8837, allocations: 347.3 kB / 1.008 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.8843, allocations: 467.1 kB / 1.009 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.8854, allocations: 0.7698 MB / 1.01 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8854, allocations: 3.938 kB / 1.01 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001342/0.8867, allocations: 0.9279 MB / 1.01 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8867, allocations: 5.281 kB / 1.01 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8868, allocations: 2.719 kB / 1.01 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8868, allocations: 5 kB / 1.011 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.8874, allocations: 145.5 kB / 1.011 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.8874, allocations: 9.281 kB / 1.011 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.8882, allocations: 88 kB / 1.011 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.8883, allocations: 30.31 kB / 1.011 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007198/0.889, allocations: 0.5398 MB / 1.011 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000537/0.8895, allocations: 447.3 kB / 1.012 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009391/0.8905, allocations: 0.7438 MB / 1.012 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.8905, allocations: 0 / 1.012 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001228/0.8917, allocations: 0.8863 MB / 1.013 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.8918, allocations: 7.969 kB / 1.013 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.8918, allocations: 6.125 kB / 1.013 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.8918, allocations: 8.938 kB / 1.013 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.8924, allocations: 151.7 kB / 1.013 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8924, allocations: 11.5 kB / 1.013 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.893, allocations: 61.64 kB / 1.014 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.8931, allocations: 28.42 kB / 1.014 GB, free: 10.19 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.8933, allocations: 222.2 kB / 1.014 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.8934, allocations: 92.25 kB / 1.014 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.8946, allocations: 0.7995 MB / 1.015 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.8947, allocations: 7.5 kB / 1.015 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8947, allocations: 0 / 1.015 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00093/0.8956, allocations: 0.7464 MB / 1.015 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.8983, allocations: 2.088 MB / 1.017 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8983, allocations: 2.906 kB / 1.017 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.8989, allocations: 139 kB / 1.018 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.899, allocations: 5.688 kB / 1.018 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.899, allocations: 26.05 kB / 1.018 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.899, allocations: 5.031 kB / 1.018 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.899, allocations: 8.781 kB / 1.018 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.9007, allocations: 1.395 MB / 1.019 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.9011, allocations: 249.8 kB / 1.019 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.9012, allocations: 18.89 kB / 1.019 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.9017, allocations: 18 kB / 1.019 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.9018, allocations: 52.81 kB / 1.019 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.9018, allocations: 21.81 kB / 1.019 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006153/0.9024, allocations: 0.5588 MB / 1.02 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9024, allocations: 3.938 kB / 1.02 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001607/0.9041, allocations: 0.7501 MB / 1.021 GB, free: 5.887 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003012/0.9071, allocations: 2.379 MB / 1.023 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.9089, allocations: 1.19 MB / 1.024 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9089, allocations: 5.062 kB / 1.024 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.9094, allocations: 374.4 kB / 1.024 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.9115, allocations: 0.5284 MB / 1.025 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/0.9215, allocations: 7.846 MB / 1.033 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.9221, allocations: 1.073 MB / 1.034 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001147/0.9233, allocations: 408.4 kB / 1.034 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.9238, allocations: 339.3 kB / 1.034 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of SimCode: time 8.02e-07/0.9238, allocations: 0 / 1.034 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.9784, allocations: 31.15 MB / 1.065 GB, free: 9.469 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/11, allocations: 4.062 kB / 1.065 GB, free: 9.465 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)