Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001004/0.001004, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001269/0.001269, allocations: 172.7 kB / 15.95 MB, free: 208 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.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.438 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.44/2.44, allocations: 390.4 MB / 0.6655 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7923/0.7927, allocations: 142.3 MB / 0.9539 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04811/0.8409, allocations: 45.77 MB / 0.9985 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.8611, allocations: 11.92 MB / 1.01 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/0.8653, allocations: 67.56 kB / 1.01 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.8679, allocations: 0.551 MB / 1.011 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006086/0.874, allocations: 1.452 MB / 1.012 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.8784, allocations: 1.036 MB / 1.013 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006624/0.885, allocations: 3.76 MB / 1.017 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.8869, allocations: 0.8962 MB / 1.018 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.8895, allocations: 1.034 MB / 1.019 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.8908, allocations: 0.8357 MB / 1.02 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.8909, allocations: 44 kB / 1.02 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.8929, allocations: 0.7288 MB / 1.02 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.8932, allocations: 214.9 kB / 1.021 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003947/0.8936, allocations: 273 kB / 1.021 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.8953, allocations: 1.375 MB / 1.022 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.8953, allocations: 4 kB / 1.022 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.188e-06/0.8953, allocations: 3.984 kB / 1.022 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.8953, allocations: 4 kB / 1.022 GB, free: 9.961 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00245/0.8978, allocations: 1.497 MB / 1.024 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.8979, allocations: 12.03 kB / 1.024 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.898, allocations: 135.2 kB / 1.024 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.8986, allocations: 222.1 kB / 1.024 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.9005, allocations: 1.045 MB / 1.025 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.9008, allocations: 133.9 kB / 1.025 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.9009, allocations: 84 kB / 1.025 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.9026, allocations: 1 MB / 1.026 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.9027, allocations: 7.938 kB / 1.026 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.9027, allocations: 32 kB / 1.026 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.9028, allocations: 24 kB / 1.026 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.9041, allocations: 0.6829 MB / 1.027 GB, free: 4.914 MB / 0.7794 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.005225/0.9094, allocations: 4.444 MB / 1.031 GB, free: 224 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.9106, allocations: 442.5 kB / 1.032 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.9111, allocations: 240.6 kB / 1.032 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009467/0.9121, allocations: 1.144 MB / 1.033 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.9121, allocations: 38.56 kB / 1.033 GB, free: 14.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.9121, allocations: 3.938 kB / 1.033 GB, free: 14.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002788/0.9149, allocations: 1.147 MB / 1.034 GB, free: 12.87 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.915, allocations: 51.41 kB / 1.034 GB, free: 12.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.9161, allocations: 0.9317 MB / 1.035 GB, free: 11.86 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.9162, allocations: 33.7 kB / 1.035 GB, free: 11.82 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.9167, allocations: 0.5812 MB / 1.036 GB, free: 11.23 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.9168, allocations: 102.6 kB / 1.036 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.9168, allocations: 8 kB / 1.036 GB, free: 11.12 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.917, allocations: 322 kB / 1.036 GB, free: 10.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.9175, allocations: 213 kB / 1.036 GB, free: 10.6 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.9181, allocations: 402.8 kB / 1.037 GB, free: 10.13 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.9187, allocations: 253.3 kB / 1.037 GB, free: 9.883 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.9187, allocations: 4 kB / 1.037 GB, free: 9.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001605/0.9203, allocations: 0.7682 MB / 1.038 GB, free: 9.094 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.9203, allocations: 11.94 kB / 1.038 GB, free: 9.082 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.9204, allocations: 8 kB / 1.038 GB, free: 9.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.921, allocations: 146.6 kB / 1.038 GB, free: 8.922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.9216, allocations: 163.8 kB / 1.038 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.9228, allocations: 1.727 MB / 1.04 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/0.9235, allocations: 119.3 kB / 1.04 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.9236, allocations: 31.92 kB / 1.04 GB, free: 6.809 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005582/0.9242, allocations: 268.4 kB / 1.04 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.9244, allocations: 110.6 kB / 1.04 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.9262, allocations: 0.7701 MB / 1.041 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.9262, allocations: 0 / 1.041 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9262, allocations: 4 kB / 1.041 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.9262, allocations: 3.984 kB / 1.041 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.9291, allocations: 1.667 MB / 1.043 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.9291, allocations: 192 / 1.043 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.9296, allocations: 115.9 kB / 1.043 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005203/0.9301, allocations: 146.4 kB / 1.043 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.9302, allocations: 19.98 kB / 1.043 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.9313, allocations: 1.708 MB / 1.045 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.9313, allocations: 4.031 kB / 1.045 GB, free: 1.812 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.9329, allocations: 0.827 MB / 1.045 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.9333, allocations: 243.5 kB / 1.046 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.9334, allocations: 11.95 kB / 1.046 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.9341, allocations: 83.86 kB / 1.046 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.9342, allocations: 35.95 kB / 1.046 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.9342, allocations: 19.98 kB / 1.046 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009048/0.9351, allocations: 0.6186 MB / 1.046 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9351, allocations: 0 / 1.046 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001117/0.9363, allocations: 351.1 kB / 1.047 GB, free: 15.57 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002542/0.9388, allocations: 1.625 MB / 1.048 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.9404, allocations: 0.5648 MB / 1.049 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.9404, allocations: 4 kB / 1.049 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008143/0.9412, allocations: 316 kB / 1.049 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.9434, allocations: 0.4971 MB / 1.05 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.9537, allocations: 5.998 MB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.9545, allocations: 1.107 MB / 1.057 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008416/0.9553, allocations: 179.9 kB / 1.057 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.9559, allocations: 423.2 kB / 1.057 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/0.9559, allocations: 0 / 1.057 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/1.01, allocations: 28.31 MB / 1.085 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.01, allocations: 263.8 kB / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.512, allocations: 0 / 1.085 GB, free: 8.297 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat does not exist to compare? outputFormat=mat