Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7195/0.7195, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 196 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.1 MB / 404.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001191, allocations: 90.16 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.087e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1893, allocations: 76.75 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.197/7.387, allocations: 2.396 GB / 3.024 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/7.387, allocations: 100.2 kB / 3.024 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.876/9.263, allocations: 478.9 MB / 3.492 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.553e-06/9.263, allocations: 3.125 kB / 3.492 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001291/9.263, allocations: 43.12 kB / 3.492 GB, free: 135.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003261/9.266, allocations: 1.511 MB / 3.493 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/9.266, allocations: 9.438 kB / 3.493 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/9.267, allocations: 162.9 kB / 3.494 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/9.27, allocations: 496.4 kB / 3.494 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/9.273, allocations: 1.372 MB / 3.495 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/9.273, allocations: 80.81 kB / 3.495 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/9.273, allocations: 108.9 kB / 3.496 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/9.275, allocations: 1.302 MB / 3.497 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/9.275, allocations: 0 / 3.497 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/9.276, allocations: 38.75 kB / 3.497 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/9.276, allocations: 40.69 kB / 3.497 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/9.278, allocations: 1.223 MB / 3.498 GB, free: 133.9 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.006182/9.284, allocations: 4.861 MB / 3.503 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/9.285, allocations: 1.012 MB / 3.504 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/9.286, allocations: 0.5448 MB / 3.504 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/9.286, allocations: 203.6 kB / 3.505 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/9.286, allocations: 48.56 kB / 3.505 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 3.075e-06/9.286, allocations: 0 / 3.505 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=79): time 0.005557/9.292, allocations: 2.638 MB / 3.507 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/9.292, allocations: 63.73 kB / 3.507 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/9.293, allocations: 0.8529 MB / 3.508 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/9.294, allocations: 43.7 kB / 3.508 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/9.294, allocations: 0.5425 MB / 3.509 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/9.294, allocations: 290.3 kB / 3.509 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/9.294, allocations: 17.28 kB / 3.509 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001398/9.294, allocations: 335.1 kB / 3.509 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/9.295, allocations: 419.5 kB / 3.51 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/9.296, allocations: 0.5656 MB / 3.51 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008225/9.297, allocations: 0.5244 MB / 3.511 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/9.297, allocations: 3 kB / 3.511 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002012/9.299, allocations: 1.265 MB / 3.512 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003261/9.299, allocations: 0.882 MB / 3.513 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/9.299, allocations: 0 / 3.513 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/9.299, allocations: 57.69 kB / 3.513 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/9.301, allocations: 348.3 kB / 3.513 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/9.304, allocations: 2.998 MB / 3.516 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/9.306, allocations: 138.8 kB / 3.516 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/9.306, allocations: 25.06 kB / 3.516 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/9.306, allocations: 3.969 kB / 3.516 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/9.308, allocations: 1.143 MB / 3.517 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/9.308, allocations: 6.312 kB / 3.517 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/9.308, allocations: 56.45 kB / 3.517 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/9.309, allocations: 162.4 kB / 3.518 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/9.31, allocations: 1.724 MB / 3.519 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/9.312, allocations: 127.4 kB / 3.519 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/9.312, allocations: 35.11 kB / 3.519 GB, free: 124.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002955/9.312, allocations: 151.3 kB / 3.52 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/9.312, allocations: 111.5 kB / 3.52 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/9.313, allocations: 148.3 kB / 3.52 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/9.313, allocations: 7.844 kB / 3.52 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/9.313, allocations: 3.219 kB / 3.52 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/9.314, allocations: 1.289 MB / 3.521 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/9.318, allocations: 2.809 MB / 3.524 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/9.318, allocations: 7.094 kB / 3.524 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/9.32, allocations: 421.8 kB / 3.524 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/9.321, allocations: 57.92 kB / 3.524 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/9.321, allocations: 28.77 kB / 3.524 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/9.325, allocations: 4.578 MB / 3.529 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/9.325, allocations: 0 / 3.529 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/9.328, allocations: 2.023 MB / 3.531 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/9.329, allocations: 332.2 kB / 3.531 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/9.329, allocations: 19.22 kB / 3.531 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/9.33, allocations: 115.5 kB / 3.531 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/9.33, allocations: 60.8 kB / 3.531 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/9.33, allocations: 30.39 kB / 3.531 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009395/9.331, allocations: 0.6853 MB / 3.532 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/9.331, allocations: 0 / 3.532 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002419/9.334, allocations: 0.754 MB / 3.533 GB, free: 116.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004464/9.338, allocations: 4.242 MB / 3.537 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003764/9.342, allocations: 1.977 MB / 3.539 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/9.342, allocations: 3.938 kB / 3.539 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/9.344, allocations: 0.8058 MB / 3.54 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/9.348, allocations: 0.7861 MB / 3.54 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/9.353, allocations: 3.016 MB / 3.543 GB, free: 112 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/9.353, allocations: 1.464 MB / 3.545 GB, free: 111 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002492/9.356, allocations: 0.9947 MB / 3.546 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/9.356, allocations: 446.1 kB / 3.546 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/9.356, allocations: 2.781 kB / 3.546 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09397/9.45, allocations: 63.58 MB / 3.608 GB, free: 47.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/9.451, allocations: 258.8 kB / 3.608 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/13.59, allocations: 4 kB / 3.608 GB, free: 47.39 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)