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.0009591/0.0009591, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009369/0.000937, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.239/1.239, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.692/1.692, allocations: 292.3 MB / 0.5485 GB, free: 13.63 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.001391/0.001391, allocations: 69.27 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1899, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04323/0.2332, allocations: 49.34 MB / 0.8311 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.2494, allocations: 12.48 MB / 0.8433 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.2518, allocations: 67.56 kB / 0.8434 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.2536, allocations: 0.6487 MB / 0.844 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.2579, allocations: 1.691 MB / 0.8457 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.2609, allocations: 1.218 MB / 0.8469 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.2646, allocations: 3.254 MB / 0.8501 GB, free: 8.871 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.2661, allocations: 1.235 MB / 0.8513 GB, free: 7.598 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.2693, allocations: 1.315 MB / 0.8525 GB, free: 6.289 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.2705, allocations: 0.9641 MB / 0.8535 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.2706, allocations: 96 kB / 0.8536 GB, free: 5.227 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.2728, allocations: 1.072 MB / 0.8546 GB, free: 4.152 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.2731, allocations: 290.8 kB / 0.8549 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.2737, allocations: 0.6645 MB / 0.8556 GB, free: 3.199 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.2761, allocations: 1.967 MB / 0.8575 GB, free: 1.227 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2761, allocations: 0 / 0.8575 GB, free: 1.227 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2761, allocations: 0 / 0.8575 GB, free: 1.227 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.2761, allocations: 4 kB / 0.8575 GB, free: 1.223 MB / 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.002333/0.2785, allocations: 1.682 MB / 0.8591 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2785, allocations: 12.03 kB / 0.8591 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.2787, allocations: 135.4 kB / 0.8593 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.2793, allocations: 207.1 kB / 0.8595 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.281, allocations: 1.08 MB / 0.8605 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.2813, allocations: 122.1 kB / 0.8606 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2814, allocations: 88 kB / 0.8607 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.2831, allocations: 0.9845 MB / 0.8617 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.2832, allocations: 3.938 kB / 0.8617 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.2833, allocations: 32 kB / 0.8617 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.2833, allocations: 24 kB / 0.8617 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.2847, allocations: 0.6556 MB / 0.8624 GB, free: 12.02 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.00467/0.2894, allocations: 4.414 MB / 0.8667 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.2906, allocations: 417.5 kB / 0.8671 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.2912, allocations: 224.6 kB / 0.8673 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008206/0.292, allocations: 1.148 MB / 0.8684 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.292, allocations: 30.56 kB / 0.8684 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.292, allocations: 0 / 0.8684 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of matching and sorting (n=29): time 0.002932/0.295, allocations: 1.096 MB / 0.8695 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.295, allocations: 59.34 kB / 0.8696 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.2961, allocations: 0.9232 MB / 0.8705 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.2962, allocations: 29.7 kB / 0.8705 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.2966, allocations: 0.5733 MB / 0.8711 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/0.2967, allocations: 106.6 kB / 0.8712 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.2969, allocations: 114 kB / 0.8713 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.297, allocations: 322 kB / 0.8716 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006709/0.2977, allocations: 193 kB / 0.8718 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.2984, allocations: 390.9 kB / 0.8721 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.2996, allocations: 0.5761 MB / 0.8727 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2996, allocations: 0 / 0.8727 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001507/0.3011, allocations: 0.7287 MB / 0.8734 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3011, allocations: 8 kB / 0.8734 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3011, allocations: 8 kB / 0.8734 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.3018, allocations: 155 kB / 0.8736 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.3024, allocations: 147.8 kB / 0.8737 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.3034, allocations: 1.727 MB / 0.8754 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.3041, allocations: 103.4 kB / 0.8755 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.3041, allocations: 31.98 kB / 0.8755 GB, free: 13.64 MB / 0.7012 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 (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.0003386/0.3045, allocations: 256.5 kB / 0.8758 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3046, allocations: 118.6 kB / 0.8759 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.3063, allocations: 0.722 MB / 0.8766 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3063, allocations: 11.94 kB / 0.8766 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3064, allocations: 0 / 0.8766 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3064, allocations: 7.984 kB / 0.8766 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.3089, allocations: 1.623 MB / 0.8782 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3089, allocations: 4 kB / 0.8782 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.3094, allocations: 92.03 kB / 0.8783 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/0.31, allocations: 154.4 kB / 0.8784 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.31, allocations: 11.98 kB / 0.8784 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009315/0.3109, allocations: 1.708 MB / 0.8801 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3109, allocations: 7.969 kB / 0.8801 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.3124, allocations: 0.7878 MB / 0.8809 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.3127, allocations: 247.6 kB / 0.8811 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3128, allocations: 11.98 kB / 0.8811 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/0.3134, allocations: 67.92 kB / 0.8812 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.3135, allocations: 36.12 kB / 0.8812 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.3136, allocations: 23.98 kB / 0.8813 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007018/0.3143, allocations: 0.6261 MB / 0.8819 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3143, allocations: 4 kB / 0.8819 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008781/0.3152, allocations: 363.1 kB / 0.8822 GB, free: 6.52 MB / 0.7012 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.002306/0.3175, allocations: 1.601 MB / 0.8838 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.319, allocations: 0.5671 MB / 0.8843 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.319, allocations: 0 / 0.8843 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/0.3198, allocations: 304.2 kB / 0.8846 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.3219, allocations: 0.5217 MB / 0.8851 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.3342, allocations: 7.895 MB / 0.8928 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.3349, allocations: 1.103 MB / 0.8939 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007476/0.3357, allocations: 183.8 kB / 0.8941 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.3362, allocations: 411.3 kB / 0.8945 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.3362, allocations: 0 / 0.8945 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.762/4.099, allocations: 28.14 MB / 0.922 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/4.099, allocations: 282.7 kB / 0.9222 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/7.064, allocations: 0 / 0.9222 GB, free: 134.5 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)