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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001118/0.001118, allocations: 195.4 kB / 16.14 MB, free: 6.707 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.215/1.215, allocations: 205.1 MB / 222 MB, free: 4.766 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.518/1.518, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.00224/0.00224, allocations: 69.38 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1906, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04184/0.2325, allocations: 49.44 MB / 0.8311 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.247, allocations: 12.62 MB / 0.8434 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.2488, allocations: 67.56 kB / 0.8435 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2506, allocations: 0.6174 MB / 0.8441 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.2543, allocations: 1.684 MB / 0.8457 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.2572, allocations: 1.193 MB / 0.8469 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.261, allocations: 4.348 MB / 0.8511 GB, free: 7.719 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.2622, allocations: 1.089 MB / 0.8522 GB, free: 6.594 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.2638, allocations: 1.124 MB / 0.8533 GB, free: 5.465 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008997/0.2647, allocations: 0.9408 MB / 0.8542 GB, free: 4.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.2648, allocations: 60 kB / 0.8543 GB, free: 4.461 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.2666, allocations: 1.06 MB / 0.8553 GB, free: 3.398 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.2668, allocations: 250.9 kB / 0.8555 GB, free: 3.152 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.2674, allocations: 0.637 MB / 0.8561 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.2692, allocations: 1.908 MB / 0.858 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2692, allocations: 0 / 0.858 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2692, allocations: 0 / 0.858 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.2692, allocations: 0 / 0.858 GB, free: 0.5977 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.002124/0.2713, allocations: 1.69 MB / 0.8597 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2714, allocations: 12.03 kB / 0.8597 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.2715, allocations: 135.4 kB / 0.8598 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.272, allocations: 207.1 kB / 0.86 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.2736, allocations: 1.076 MB / 0.8611 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/0.2739, allocations: 126.1 kB / 0.8612 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/0.274, allocations: 84 kB / 0.8613 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.2755, allocations: 0.9806 MB / 0.8622 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2756, allocations: 0 / 0.8622 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/0.2756, allocations: 40 kB / 0.8622 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.2756, allocations: 24 kB / 0.8623 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.277, allocations: 0.6555 MB / 0.8629 GB, free: 11.39 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.004569/0.2816, allocations: 4.417 MB / 0.8672 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2827, allocations: 406.6 kB / 0.8676 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.2832, allocations: 224.6 kB / 0.8678 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007931/0.284, allocations: 1.148 MB / 0.8689 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.284, allocations: 38.56 kB / 0.869 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=29): time 1.704e-06/0.284, allocations: 0 / 0.869 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of matching and sorting (n=29): time 0.002636/0.2867, allocations: 1.088 MB / 0.87 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2867, allocations: 59.34 kB / 0.8701 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/0.2876, allocations: 0.9232 MB / 0.871 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.2877, allocations: 33.7 kB / 0.871 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.288, allocations: 0.5811 MB / 0.8716 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.2881, allocations: 98.59 kB / 0.8717 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.2883, allocations: 106 kB / 0.8718 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.2884, allocations: 322 kB / 0.8721 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.2889, allocations: 201 kB / 0.8723 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.2895, allocations: 382.8 kB / 0.8727 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2906, allocations: 0.5838 MB / 0.8732 GB, free: 16 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2906, allocations: 0 / 0.8732 GB, free: 16 kB / 0.6856 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001456/0.292, allocations: 0.7255 MB / 0.8739 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2921, allocations: 8 kB / 0.874 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.2921, allocations: 11.97 kB / 0.874 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.2927, allocations: 154.5 kB / 0.8741 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.2932, allocations: 147.8 kB / 0.8743 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000932/0.2942, allocations: 1.716 MB / 0.8759 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.2948, allocations: 103.4 kB / 0.876 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.2949, allocations: 31.98 kB / 0.8761 GB, free: 13.02 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.000316/0.2952, allocations: 265.7 kB / 0.8763 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.2953, allocations: 110.6 kB / 0.8764 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.297, allocations: 0.722 MB / 0.8771 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.297, allocations: 11.94 kB / 0.8771 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.297, allocations: 0 / 0.8771 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2971, allocations: 3.984 kB / 0.8771 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.2996, allocations: 1.635 MB / 0.8787 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2996, allocations: 0 / 0.8787 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.3, allocations: 88.09 kB / 0.8788 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005277/0.3006, allocations: 166.4 kB / 0.879 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.3006, allocations: 11.98 kB / 0.879 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008893/0.3015, allocations: 1.704 MB / 0.8806 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3015, allocations: 4.031 kB / 0.8807 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.303, allocations: 0.7916 MB / 0.8814 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.3032, allocations: 247.6 kB / 0.8817 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3033, allocations: 8 kB / 0.8817 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.3039, allocations: 67.92 kB / 0.8817 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.304, allocations: 31.91 kB / 0.8818 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.3041, allocations: 27.97 kB / 0.8818 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006832/0.3048, allocations: 0.6222 MB / 0.8824 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3048, allocations: 0 / 0.8824 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008374/0.3056, allocations: 363.1 kB / 0.8827 GB, free: 5.902 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.002363/0.308, allocations: 1.607 MB / 0.8843 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.3094, allocations: 0.5441 MB / 0.8848 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3094, allocations: 4 kB / 0.8848 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/0.3102, allocations: 296.2 kB / 0.8851 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.3124, allocations: 0.4928 MB / 0.8856 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.3229, allocations: 7.903 MB / 0.8933 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.3234, allocations: 1.107 MB / 0.8944 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006126/0.3241, allocations: 171.8 kB / 0.8946 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.3245, allocations: 415.3 kB / 0.895 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.3245, allocations: 0 / 0.895 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.192/2.517, allocations: 27.39 MB / 0.9217 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/2.517, allocations: 283.2 kB / 0.922 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/5.216, allocations: 0 / 0.922 GB, free: 133.1 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)