Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_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.001434/0.001434, allocations: 108 kB / 15.6 MB, free: 132 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.001673/0.001674, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.661/1.661, allocations: 292.3 MB / 0.5489 GB, free: 13.49 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.001398/0.001399, allocations: 73.81 kB / 0.6716 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.201, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0437/0.2447, allocations: 49.76 MB / 0.8321 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.2607, allocations: 12.59 MB / 0.8443 GB, free: 14.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.2633, allocations: 71.56 kB / 0.8444 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.2653, allocations: 0.7566 MB / 0.8452 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.2699, allocations: 1.815 MB / 0.8469 GB, free: 12.26 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.273, allocations: 1.326 MB / 0.8482 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003794/0.2768, allocations: 3.225 MB / 0.8514 GB, free: 7.719 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.2783, allocations: 1.266 MB / 0.8526 GB, free: 6.418 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.2807, allocations: 1.296 MB / 0.8539 GB, free: 5.129 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00096/0.2817, allocations: 0.9331 MB / 0.8548 GB, free: 4.191 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.2818, allocations: 100 kB / 0.8549 GB, free: 4.094 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.2838, allocations: 1.06 MB / 0.8559 GB, free: 3.031 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.2841, allocations: 282.9 kB / 0.8562 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005624/0.2846, allocations: 0.6722 MB / 0.8568 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.2866, allocations: 1.932 MB / 0.8587 GB, free: 144 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2866, allocations: 0 / 0.8587 GB, free: 144 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2867, allocations: 0 / 0.8587 GB, free: 144 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.2867, allocations: 0 / 0.8587 GB, free: 144 kB / 0.67 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.002236/0.2889, allocations: 1.689 MB / 0.8604 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.289, allocations: 11.97 kB / 0.8604 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.2891, allocations: 139.4 kB / 0.8605 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005717/0.2897, allocations: 203.1 kB / 0.8607 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.2913, allocations: 1.026 MB / 0.8617 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003627/0.2917, allocations: 126.1 kB / 0.8618 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.2918, allocations: 84 kB / 0.8619 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.2934, allocations: 1.015 MB / 0.8629 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.2934, allocations: 0 / 0.8629 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.2935, allocations: 36 kB / 0.8629 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.2935, allocations: 20 kB / 0.863 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.295, allocations: 0.6594 MB / 0.8636 GB, free: 10.95 MB / 0.6856 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.004539/0.2996, allocations: 4.762 MB / 0.8683 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.3008, allocations: 406.6 kB / 0.8686 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.3014, allocations: 224.7 kB / 0.8689 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008005/0.3022, allocations: 1.156 MB / 0.87 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3022, allocations: 42.56 kB / 0.87 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=29): time 1.863e-06/0.3022, allocations: 0 / 0.87 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=29): time 0.002908/0.3051, allocations: 1.087 MB / 0.8711 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.3052, allocations: 59.41 kB / 0.8711 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3063, allocations: 0.9629 MB / 0.8721 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.3063, allocations: 33.7 kB / 0.8721 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.3067, allocations: 0.5849 MB / 0.8727 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3068, allocations: 106.5 kB / 0.8728 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.307, allocations: 110 kB / 0.8729 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.3071, allocations: 326 kB / 0.8732 GB, free: 452 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.3076, allocations: 205 kB / 0.8734 GB, free: 248 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.3083, allocations: 414.4 kB / 0.8738 GB, free: 15.74 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.3096, allocations: 0.6183 MB / 0.8744 GB, free: 15.04 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3096, allocations: 0 / 0.8744 GB, free: 15.04 MB / 0.7013 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001639/0.3112, allocations: 0.7645 MB / 0.8751 GB, free: 14.25 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3112, allocations: 8 kB / 0.8752 GB, free: 14.25 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3113, allocations: 4 kB / 0.8752 GB, free: 14.24 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.3119, allocations: 162.5 kB / 0.8753 GB, free: 14.07 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.3125, allocations: 143.8 kB / 0.8755 GB, free: 13.93 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009829/0.3135, allocations: 1.72 MB / 0.8771 GB, free: 12.14 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.3141, allocations: 95.42 kB / 0.8772 GB, free: 12.04 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.3142, allocations: 31.98 kB / 0.8773 GB, free: 12.01 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003411/0.3145, allocations: 268 kB / 0.8775 GB, free: 11.74 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3147, allocations: 110.6 kB / 0.8776 GB, free: 11.63 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.3165, allocations: 0.7182 MB / 0.8783 GB, free: 10.89 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.3165, allocations: 11.94 kB / 0.8783 GB, free: 10.88 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3165, allocations: 0 / 0.8783 GB, free: 10.88 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3165, allocations: 3.984 kB / 0.8783 GB, free: 10.88 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.3192, allocations: 1.631 MB / 0.8799 GB, free: 9.172 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.3192, allocations: 4 kB / 0.8799 GB, free: 9.168 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.3197, allocations: 100 kB / 0.88 GB, free: 9.07 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/0.3202, allocations: 150.4 kB / 0.8802 GB, free: 8.914 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.3203, allocations: 11.94 kB / 0.8802 GB, free: 8.902 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/0.3212, allocations: 1.708 MB / 0.8818 GB, free: 7.117 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.3212, allocations: 4.031 kB / 0.8818 GB, free: 7.113 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.3228, allocations: 0.7918 MB / 0.8826 GB, free: 6.277 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.3231, allocations: 247.6 kB / 0.8829 GB, free: 6.016 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.3232, allocations: 12 kB / 0.8829 GB, free: 6.004 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.3238, allocations: 56 kB / 0.8829 GB, free: 5.949 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.3239, allocations: 31.84 kB / 0.883 GB, free: 5.918 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.3239, allocations: 19.98 kB / 0.883 GB, free: 5.898 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0007208/0.3247, allocations: 0.6537 MB / 0.8836 GB, free: 5.238 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3247, allocations: 0 / 0.8836 GB, free: 5.238 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0008716/0.3256, allocations: 375.1 kB / 0.884 GB, free: 4.871 MB / 0.7013 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00239/0.3279, allocations: 1.638 MB / 0.8856 GB, free: 3.184 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.3295, allocations: 0.5828 MB / 0.8861 GB, free: 2.602 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3295, allocations: 0 / 0.8861 GB, free: 2.602 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.0008159/0.3304, allocations: 305.2 kB / 0.8864 GB, free: 2.305 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.3326, allocations: 0.5154 MB / 0.8869 GB, free: 1.809 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3432, allocations: 7.688 MB / 0.8944 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.3438, allocations: 1.107 MB / 0.8955 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006526/0.3445, allocations: 180 kB / 0.8957 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.3449, allocations: 415.3 kB / 0.8961 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/0.3449, allocations: 0 / 0.8961 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4087/0.7536, allocations: 29.17 MB / 0.9246 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.23, allocations: 8.109 kB / 0.9246 GB, free: 132.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)