Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_8_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.001042/0.001042, allocations: 108 kB / 15.61 MB, free: 152 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.001028/0.001028, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001487/0.001487, allocations: 74.91 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2011, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6113/0.8125, allocations: 181.9 MB / 0.9611 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007524/0.82, allocations: 5.305 MB / 0.9663 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.8211, allocations: 32.41 kB / 0.9663 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.8223, allocations: 440 kB / 0.9667 GB, free: 8 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.8264, allocations: 1.66 MB / 0.9683 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.8283, allocations: 0.7847 MB / 0.9691 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002801/0.8312, allocations: 2.162 MB / 0.9712 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.8322, allocations: 0.6735 MB / 0.9719 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.8336, allocations: 0.7309 MB / 0.9726 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.8353, allocations: 0.6844 MB / 0.9732 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.8354, allocations: 75.38 kB / 0.9733 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.8387, allocations: 1.396 MB / 0.9747 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003915/0.8391, allocations: 318.1 kB / 0.975 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006265/0.8397, allocations: 469.2 kB / 0.9754 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.8431, allocations: 1.631 MB / 0.977 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8431, allocations: 0 / 0.977 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8431, allocations: 1.625 kB / 0.977 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.606e-05/0.8432, allocations: 0 / 0.977 GB, free: 13.86 MB / 0.7325 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.002188/0.8454, allocations: 1.178 MB / 0.9782 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.8454, allocations: 8.125 kB / 0.9782 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.8456, allocations: 101 kB / 0.9783 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.8475, allocations: 270.9 kB / 0.9785 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.8486, allocations: 0.6595 MB / 0.9792 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.8487, allocations: 45.19 kB / 0.9792 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.8488, allocations: 59.25 kB / 0.9793 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.8498, allocations: 0.5807 MB / 0.9798 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.8498, allocations: 7.406 kB / 0.9799 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.8499, allocations: 20.34 kB / 0.9799 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.8499, allocations: 28.38 kB / 0.9799 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.8508, allocations: 0.4962 MB / 0.9804 GB, free: 11.78 MB / 0.7325 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.003291/0.8541, allocations: 2.385 MB / 0.9827 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.8547, allocations: 416 kB / 0.9831 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.855, allocations: 220.9 kB / 0.9833 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.8552, allocations: 98.64 kB / 0.9834 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.8553, allocations: 44.25 kB / 0.9835 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.8553, allocations: 0 / 0.9835 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.002915/0.8582, allocations: 1.436 MB / 0.9849 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.8583, allocations: 64.92 kB / 0.9849 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.8589, allocations: 0.5259 MB / 0.9854 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.8589, allocations: 39.92 kB / 0.9855 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.8592, allocations: 326.3 kB / 0.9858 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.8593, allocations: 173.4 kB / 0.9859 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.8595, allocations: 89.34 kB / 0.986 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8596, allocations: 377.5 kB / 0.9864 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.8599, allocations: 174.9 kB / 0.9866 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.8603, allocations: 255.3 kB / 0.9868 GB, free: 6.867 MB / 0.7325 GB 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) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.8635, allocations: 1.43 MB / 0.9882 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8635, allocations: 0 / 0.9882 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008319/0.8643, allocations: 0.5236 MB / 0.9887 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8643, allocations: 8.75 kB / 0.9887 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.8643, allocations: 7.641 kB / 0.9887 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8644, allocations: 2.75 kB / 0.9887 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.8648, allocations: 95.06 kB / 0.9888 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8648, allocations: 8.969 kB / 0.9888 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.8654, allocations: 21.11 kB / 0.9888 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.8655, allocations: 20.59 kB / 0.9889 GB, free: 5.688 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.8658, allocations: 250.4 kB / 0.9891 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.8659, allocations: 65.62 kB / 0.9892 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.8661, allocations: 76.5 kB / 0.9892 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8661, allocations: 4.906 kB / 0.9892 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.8661, allocations: 0 / 0.9892 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006791/0.8668, allocations: 0.5154 MB / 0.9898 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.8691, allocations: 1.576 MB / 0.9913 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8691, allocations: 4.719 kB / 0.9913 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.8696, allocations: 120.9 kB / 0.9914 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.8696, allocations: 7.594 kB / 0.9914 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.8697, allocations: 13.78 kB / 0.9914 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.8697, allocations: 11.06 kB / 0.9914 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.8697, allocations: 13.64 kB / 0.9915 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.871, allocations: 0.9451 MB / 0.9924 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.8713, allocations: 196.5 kB / 0.9926 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.8714, allocations: 19.95 kB / 0.9926 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.872, allocations: 24.39 kB / 0.9926 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.8721, allocations: 55.8 kB / 0.9927 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.8721, allocations: 26.77 kB / 0.9927 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004275/0.8725, allocations: 387 kB / 0.9931 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8725, allocations: 0 / 0.9931 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006595/0.8732, allocations: 204.7 kB / 0.9932 GB, free: 2.672 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/0.8749, allocations: 1.565 MB / 0.9948 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008717/0.8758, allocations: 476.3 kB / 0.9952 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8758, allocations: 2.062 kB / 0.9952 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.8762, allocations: 240.2 kB / 0.9955 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.8783, allocations: 488.8 kB / 0.9959 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.8851, allocations: 5.558 MB / 1.001 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.8856, allocations: 0.9766 MB / 1.002 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007294/0.8864, allocations: 159.7 kB / 1.002 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.8867, allocations: 247.4 kB / 1.003 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/0.8867, allocations: 0 / 1.003 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.9338, allocations: 20.21 MB / 1.022 GB, free: 15 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.92, allocations: 23.14 kB / 1.022 GB, free: 14.99 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)