Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.0009336/0.0009335, allocations: 99.08 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.0009965/0.0009966, allocations: 177.3 kB / 15.95 MB, free: 216 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.604/1.604, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.553/2.553, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 19.98 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9265/0.9269, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1976/1.125, allocations: 151.5 MB / 1.129 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009489/1.134, allocations: 5.291 MB / 1.134 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/1.136, allocations: 35.69 kB / 1.134 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/1.137, allocations: 481.8 kB / 1.134 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005689/1.143, allocations: 1.55 MB / 1.136 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/1.146, allocations: 0.9137 MB / 1.137 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002733/1.149, allocations: 1.274 MB / 1.138 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008187/1.15, allocations: 0.5 MB / 1.139 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/1.151, allocations: 0.5449 MB / 1.139 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/1.152, allocations: 422.3 kB / 1.14 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/1.152, allocations: 24 kB / 1.14 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/1.153, allocations: 0.6045 MB / 1.14 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/1.154, allocations: 243.3 kB / 1.14 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/1.154, allocations: 189.3 kB / 1.141 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/1.155, allocations: 1.04 MB / 1.142 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/1.155, allocations: 0 / 1.142 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.675e-06/1.155, allocations: 4 kB / 1.142 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.155, allocations: 0 / 1.142 GB, free: 1.273 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001665/1.157, allocations: 1.005 MB / 1.143 GB, free: 224 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.157, allocations: 11.98 kB / 1.143 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/1.157, allocations: 102.5 kB / 1.143 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/1.159, allocations: 278.7 kB / 1.143 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/1.16, allocations: 0.6441 MB / 1.144 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/1.16, allocations: 41.31 kB / 1.144 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/1.16, allocations: 60 kB / 1.144 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.161, allocations: 0.5765 MB / 1.144 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/1.161, allocations: 7.891 kB / 1.144 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/1.161, allocations: 27.98 kB / 1.144 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/1.162, allocations: 21.31 kB / 1.144 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/1.162, allocations: 0.497 MB / 1.145 GB, free: 13.9 MB / 0.9044 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.003392/1.166, allocations: 2.38 MB / 1.147 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/1.167, allocations: 422.8 kB / 1.148 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/1.167, allocations: 8 kB / 1.148 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/1.167, allocations: 43.23 kB / 1.148 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 5.02e-06/1.167, allocations: 0 / 1.148 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002923/1.17, allocations: 1.446 MB / 1.149 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.17, allocations: 55.84 kB / 1.149 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/1.17, allocations: 0.5383 MB / 1.15 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/1.17, allocations: 37.7 kB / 1.15 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/1.171, allocations: 328.6 kB / 1.15 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/1.171, allocations: 165.6 kB / 1.15 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/1.171, allocations: 8 kB / 1.15 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.171, allocations: 374.8 kB / 1.15 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/1.172, allocations: 173 kB / 1.151 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/1.172, allocations: 256.8 kB / 1.151 GB, free: 7.379 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/1.175, allocations: 1.048 MB / 1.152 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.175, allocations: 0 / 1.152 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008664/1.176, allocations: 0.5303 MB / 1.152 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.176, allocations: 4 kB / 1.152 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.176, allocations: 0 / 1.152 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.176, allocations: 8.156 kB / 1.152 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/1.176, allocations: 99.83 kB / 1.152 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/1.176, allocations: 7.984 kB / 1.152 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/1.177, allocations: 49.98 kB / 1.153 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/1.177, allocations: 16 kB / 1.153 GB, free: 5.582 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003798/1.177, allocations: 241.7 kB / 1.153 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.177, allocations: 71.2 kB / 1.153 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/1.177, allocations: 74.45 kB / 1.153 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/1.177, allocations: 8 kB / 1.153 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.177, allocations: 0 / 1.153 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007157/1.178, allocations: 0.5144 MB / 1.153 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/1.181, allocations: 1.577 MB / 1.155 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.181, allocations: 7.984 kB / 1.155 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/1.181, allocations: 119.8 kB / 1.155 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.181, allocations: 8 kB / 1.155 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/1.181, allocations: 24 kB / 1.155 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/1.181, allocations: 7.984 kB / 1.155 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.181, allocations: 15.88 kB / 1.155 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/1.183, allocations: 1.124 MB / 1.156 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/1.183, allocations: 196.2 kB / 1.156 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/1.183, allocations: 19.98 kB / 1.156 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/1.184, allocations: 40.86 kB / 1.156 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/1.184, allocations: 43.84 kB / 1.157 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/1.184, allocations: 27.94 kB / 1.157 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004739/1.184, allocations: 394.8 kB / 1.157 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.184, allocations: 0 / 1.157 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007353/1.185, allocations: 200 kB / 1.157 GB, free: 0.5273 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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.002666/1.188, allocations: 3.133 MB / 1.16 GB, free: 13.24 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008374/1.189, allocations: 437.3 kB / 1.161 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.189, allocations: 0 / 1.161 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/1.189, allocations: 232.2 kB / 1.161 GB, free: 12.58 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.191, allocations: 467.2 kB / 1.161 GB, free: 12.13 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/1.198, allocations: 4.955 MB / 1.166 GB, free: 7.043 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/1.199, allocations: 0.993 MB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008429/1.2, allocations: 165.8 kB / 1.167 GB, free: 5.859 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/1.2, allocations: 251.3 kB / 1.167 GB, free: 5.613 MB / 0.92 GB Notification: Performance of SimCode: time 1.353e-06/1.2, allocations: 0 / 1.167 GB, free: 5.613 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/1.242, allocations: 20.15 MB / 1.187 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/1.242, allocations: 252.5 kB / 1.187 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.593, allocations: 2.375 kB / 1.187 GB, free: 1.484 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat does not exist to compare? outputFormat=mat