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.7542/0.7542, allocations: 127.4 MB / 134.9 MB, free: 3.453 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 174.8 kB / 164.6 MB, free: 11.59 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.953/1.953, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0009931/0.0009934, allocations: 89.47 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.159e-05, allocations: 2.531 kB / 0.5467 GB, free: 95.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 76.77 MB / 0.6216 GB, free: 42.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.375/7.587, allocations: 2.395 GB / 3.017 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/7.587, allocations: 100.8 kB / 3.017 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.396/8.983, allocations: 473.5 MB / 3.479 GB, free: 26.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.492e-06/8.983, allocations: 0 / 3.479 GB, free: 26.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001132/8.983, allocations: 39.98 kB / 3.479 GB, free: 26.72 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.002776/8.986, allocations: 1.522 MB / 3.481 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/8.986, allocations: 8.031 kB / 3.481 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/8.989, allocations: 485.3 kB / 3.481 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/8.991, allocations: 1.366 MB / 3.483 GB, free: 23.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/8.991, allocations: 43.88 kB / 3.483 GB, free: 23.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/8.991, allocations: 68 kB / 3.483 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/8.993, allocations: 1.128 MB / 3.484 GB, free: 22.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/8.995, allocations: 1.108 MB / 3.485 GB, free: 20.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/8.995, allocations: 0 / 3.485 GB, free: 20.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/8.995, allocations: 0.5156 kB / 3.485 GB, free: 20.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/8.995, allocations: 41.98 kB / 3.485 GB, free: 20.86 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.005124/9, allocations: 4.653 MB / 3.49 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/9.001, allocations: 0.925 MB / 3.49 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/9.001, allocations: 0.5181 MB / 3.491 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/9.002, allocations: 204.2 kB / 3.491 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/9.002, allocations: 39.34 kB / 3.491 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 2.776e-06/9.002, allocations: 0 / 3.491 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=79): time 0.004427/9.006, allocations: 2.481 MB / 3.494 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/9.006, allocations: 60.19 kB / 3.494 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008166/9.007, allocations: 0.7589 MB / 3.494 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/9.007, allocations: 25.7 kB / 3.494 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/9.007, allocations: 0.5388 MB / 3.495 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/9.007, allocations: 279.9 kB / 3.495 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/9.008, allocations: 0 / 3.495 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/9.008, allocations: 338 kB / 3.496 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/9.008, allocations: 405.3 kB / 3.496 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/9.009, allocations: 0.5537 MB / 3.496 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/9.009, allocations: 0.5079 MB / 3.497 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/9.009, allocations: 4 kB / 3.497 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001351/9.011, allocations: 1.2 MB / 3.498 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/9.011, allocations: 0.8762 MB / 3.499 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/9.011, allocations: 4 kB / 3.499 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/9.011, allocations: 56.83 kB / 3.499 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/9.013, allocations: 351.5 kB / 3.499 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/9.015, allocations: 2.959 MB / 3.502 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/9.017, allocations: 123.6 kB / 3.502 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/9.017, allocations: 27.98 kB / 3.502 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/9.017, allocations: 4 kB / 3.502 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00121/9.018, allocations: 1.055 MB / 3.503 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/9.018, allocations: 4 kB / 3.503 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/9.018, allocations: 56.77 kB / 3.504 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/9.019, allocations: 167.8 kB / 3.504 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5066/9.525, allocations: 1.665 MB / 3.505 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/9.527, allocations: 111.1 kB / 3.505 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/9.527, allocations: 33.22 kB / 3.505 GB, free: 115.4 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.0003364/9.528, allocations: 119.2 kB / 3.506 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001954/9.529, allocations: 1.074 MB / 3.507 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/9.53, allocations: 110.6 kB / 3.507 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/9.53, allocations: 135.9 kB / 3.507 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/9.53, allocations: 7.594 kB / 3.507 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/9.53, allocations: 1.188 kB / 3.507 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001965/9.532, allocations: 1.237 MB / 3.508 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/9.538, allocations: 2.595 MB / 3.511 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/9.538, allocations: 2.688 kB / 3.511 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/9.54, allocations: 426 kB / 3.511 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/9.54, allocations: 54.25 kB / 3.511 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/9.541, allocations: 15.7 kB / 3.511 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004845/9.545, allocations: 4.43 MB / 3.515 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/9.545, allocations: 3.047 kB / 3.515 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/9.549, allocations: 1.952 MB / 3.517 GB, free: 110 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/9.55, allocations: 324.2 kB / 3.518 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/9.55, allocations: 14.61 kB / 3.518 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/9.551, allocations: 104.9 kB / 3.518 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/9.551, allocations: 57.47 kB / 3.518 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/9.551, allocations: 34.47 kB / 3.518 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001035/9.552, allocations: 0.5952 MB / 3.518 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.022e-06/9.552, allocations: 0 / 3.518 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002662/9.555, allocations: 0.7001 MB / 3.519 GB, free: 109.8 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.005006/9.56, allocations: 4.325 MB / 3.523 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003766/9.564, allocations: 1.9 MB / 3.525 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/9.564, allocations: 0 / 3.525 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/9.566, allocations: 0.7866 MB / 3.526 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/9.57, allocations: 0.7426 MB / 3.527 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/9.575, allocations: 2.94 MB / 3.53 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008875/9.576, allocations: 1.464 MB / 3.531 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002498/9.578, allocations: 0.9405 MB / 3.532 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/9.579, allocations: 447.6 kB / 3.532 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/9.579, allocations: 0 / 3.532 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09022/9.669, allocations: 46.79 MB / 3.578 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/9.669, allocations: 200.8 kB / 3.578 GB, free: 105 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/13.18, allocations: 0 / 3.578 GB, free: 105 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)