Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_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.001028/0.001028, allocations: 100.2 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.001042/0.001042, 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.554/1.554, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.732/2.732, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004389, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9911, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.198/1.189, allocations: 156.6 MB / 1.134 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01712/1.206, allocations: 10.02 MB / 1.144 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/1.208, allocations: 47.62 kB / 1.144 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/1.21, allocations: 0.4938 MB / 1.144 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00702/1.217, allocations: 1.967 MB / 1.146 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007053/1.224, allocations: 2.151 MB / 1.148 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003503/1.228, allocations: 1.536 MB / 1.15 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.229, allocations: 0.5985 MB / 1.15 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/1.231, allocations: 0.7671 MB / 1.151 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/1.232, allocations: 0.6891 MB / 1.152 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/1.232, allocations: 48 kB / 1.152 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004941/1.237, allocations: 1.962 MB / 1.154 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005779/1.237, allocations: 347 kB / 1.154 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004724/1.238, allocations: 229.2 kB / 1.154 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/1.242, allocations: 1.902 MB / 1.156 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.242, allocations: 0 / 1.156 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.394e-06/1.242, allocations: 4 kB / 1.156 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.061e-05/1.242, allocations: 0 / 1.156 GB, free: 2.426 MB / 0.9044 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.003538/1.245, allocations: 1.449 MB / 1.157 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.246, allocations: 8.031 kB / 1.157 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/1.246, allocations: 126.4 kB / 1.158 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/1.247, allocations: 298.3 kB / 1.158 GB, free: 500 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/1.249, allocations: 0.7422 MB / 1.159 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/1.249, allocations: 49.3 kB / 1.159 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.249, allocations: 71.94 kB / 1.159 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/1.251, allocations: 0.9882 MB / 1.16 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/1.251, allocations: 4 kB / 1.16 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/1.251, allocations: 23.98 kB / 1.16 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/1.251, allocations: 77.94 kB / 1.16 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/1.253, allocations: 1.019 MB / 1.161 GB, free: 13.46 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.006192/1.259, allocations: 3.586 MB / 1.164 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.26, allocations: 0.6575 MB / 1.165 GB, free: 8.977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/1.26, allocations: 16.55 kB / 1.165 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.26, allocations: 43.06 kB / 1.165 GB, free: 8.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 2.735e-06/1.26, allocations: 4 kB / 1.165 GB, free: 8.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=62): time 0.002029/1.262, allocations: 1.029 MB / 1.166 GB, free: 7.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/1.262, allocations: 107.4 kB / 1.166 GB, free: 7.746 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.263, allocations: 0.7941 MB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/1.263, allocations: 37.7 kB / 1.167 GB, free: 6.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/1.264, allocations: 424.1 kB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/1.264, allocations: 220.8 kB / 1.168 GB, free: 6.258 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/1.264, allocations: 20 kB / 1.168 GB, free: 6.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.264, allocations: 334 kB / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/1.265, allocations: 321.8 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/1.265, allocations: 460.6 kB / 1.169 GB, free: 5.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/1.266, allocations: 391 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.266, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001446/1.267, allocations: 0.9139 MB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004149/1.268, allocations: 0.8836 MB / 1.171 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.268, allocations: 4 kB / 1.171 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.268, allocations: 4 kB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/1.268, allocations: 143.8 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/1.269, allocations: 11.94 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/1.269, allocations: 111.1 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/1.27, allocations: 27.98 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/1.27, allocations: 8 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/1.271, allocations: 0.7649 MB / 1.172 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.271, allocations: 4 kB / 1.172 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/1.271, allocations: 4 kB / 1.172 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/1.271, allocations: 155.7 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.271, allocations: 8 kB / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/1.272, allocations: 99.52 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/1.272, allocations: 24 kB / 1.172 GB, free: 1.496 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006544/1.273, allocations: 380.8 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.273, allocations: 90.88 kB / 1.173 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/1.275, allocations: 0.8104 MB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/1.275, allocations: 7.938 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.275, allocations: 4 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/1.276, allocations: 0.7399 MB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/1.279, allocations: 2.097 MB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/1.279, allocations: 4 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/1.28, allocations: 131.8 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/1.28, allocations: 4 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/1.28, allocations: 19.98 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/1.28, allocations: 16.31 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.28, allocations: 8 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/1.282, allocations: 1.516 MB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/1.282, allocations: 259.8 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.283, allocations: 23.98 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/1.283, allocations: 55.88 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/1.283, allocations: 44.28 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/1.283, allocations: 23.98 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007546/1.284, allocations: 0.5498 MB / 1.179 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/1.284, allocations: 0 / 1.179 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001986/1.286, allocations: 0.7529 MB / 1.179 GB, free: 9.66 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (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.004046/1.29, allocations: 3.471 MB / 1.183 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002097/1.292, allocations: 1.17 MB / 1.184 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.292, allocations: 0 / 1.184 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/1.293, allocations: 368.1 kB / 1.184 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.295, allocations: 0.5033 MB / 1.185 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/1.302, allocations: 4.491 MB / 1.189 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/1.302, allocations: 1.105 MB / 1.19 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001709/1.304, allocations: 416.9 kB / 1.191 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/1.305, allocations: 331.3 kB / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of SimCode: time 1.823e-06/1.305, allocations: 0 / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07669/1.381, allocations: 29.78 MB / 1.22 GB, free: 164 kB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/1.382, allocations: 261.6 kB / 1.22 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/4.312, allocations: 0 / 1.22 GB, free: 15.87 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat does not exist to compare? outputFormat=mat