Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6964/0.6964, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 187.4 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009326, allocations: 93.59 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 275 kB / 0.594 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.963e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3924, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.117/4.51, allocations: 2.126 GB / 2.89 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/4.51, allocations: 94.56 kB / 2.89 GB, free: 146 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.459/5.969, allocations: 486.1 MB / 3.365 GB, free: 156.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/5.969, allocations: 0 / 3.365 GB, free: 156.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001408/5.97, allocations: 36.23 kB / 3.365 GB, free: 156.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003171/5.973, allocations: 1.513 MB / 3.367 GB, free: 156.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/5.973, allocations: 7.875 kB / 3.367 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003214/5.973, allocations: 159.3 kB / 3.367 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/5.976, allocations: 487.2 kB / 3.367 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/5.979, allocations: 1.302 MB / 3.369 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/5.979, allocations: 75.28 kB / 3.369 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/5.979, allocations: 101.7 kB / 3.369 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/5.981, allocations: 1.224 MB / 3.37 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/5.981, allocations: 3.562 kB / 3.37 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.37e-05/5.981, allocations: 41.25 kB / 3.37 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/5.981, allocations: 37.38 kB / 3.37 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/5.982, allocations: 1.161 MB / 3.371 GB, free: 155.7 MB / 0.698 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.004812/5.987, allocations: 4.859 MB / 3.376 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/5.988, allocations: 0.9736 MB / 3.377 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/5.989, allocations: 0.5639 MB / 3.377 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/5.989, allocations: 199 kB / 3.378 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/5.989, allocations: 42.62 kB / 3.378 GB, free: 153.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/5.989, allocations: 3.094 kB / 3.378 GB, free: 153.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.00387/5.993, allocations: 2.565 MB / 3.38 GB, free: 152.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/5.993, allocations: 59.03 kB / 3.38 GB, free: 152.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008365/5.994, allocations: 0.8322 MB / 3.381 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/5.994, allocations: 48.89 kB / 3.381 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/5.994, allocations: 0.5346 MB / 3.382 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/5.994, allocations: 283 kB / 3.382 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/5.994, allocations: 17.19 kB / 3.382 GB, free: 152.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.717e-05/5.994, allocations: 338 kB / 3.382 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/5.995, allocations: 428.4 kB / 3.383 GB, free: 151.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/5.996, allocations: 0.6014 MB / 3.383 GB, free: 151.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/5.996, allocations: 0.5414 MB / 3.384 GB, free: 151.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/5.996, allocations: 0 / 3.384 GB, free: 151.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001434/5.998, allocations: 1.218 MB / 3.385 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/5.998, allocations: 1.053 MB / 3.386 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/5.998, allocations: 3.969 kB / 3.386 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/5.998, allocations: 69.86 kB / 3.386 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/5.999, allocations: 188.2 kB / 3.386 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/6, allocations: 2.984 MB / 3.389 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/6.002, allocations: 141.5 kB / 3.389 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/6.002, allocations: 33.64 kB / 3.389 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/6.002, allocations: 3.812 kB / 3.389 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/6.003, allocations: 1.094 MB / 3.39 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/6.003, allocations: 3.594 kB / 3.39 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/6.003, allocations: 80.28 kB / 3.39 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/6.004, allocations: 171.6 kB / 3.391 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/6.005, allocations: 1.808 MB / 3.392 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/6.006, allocations: 143.1 kB / 3.392 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/6.006, allocations: 30.5 kB / 3.393 GB, free: 146.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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.0001826/6.006, allocations: 151.2 kB / 3.393 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/6.007, allocations: 111.7 kB / 3.393 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/6.008, allocations: 1.174 MB / 3.394 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/6.008, allocations: 12.89 kB / 3.394 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/6.008, allocations: 0 / 3.394 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/6.01, allocations: 1.222 MB / 3.395 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/6.013, allocations: 2.775 MB / 3.398 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/6.013, allocations: 7.234 kB / 3.398 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/6.014, allocations: 244.1 kB / 3.398 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/6.014, allocations: 72.39 kB / 3.398 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/6.014, allocations: 26.19 kB / 3.398 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/6.016, allocations: 2.974 MB / 3.401 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/6.016, allocations: 3.75 kB / 3.401 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/6.018, allocations: 2.016 MB / 3.403 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/6.018, allocations: 325.8 kB / 3.403 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/6.018, allocations: 24.19 kB / 3.403 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/6.019, allocations: 116.2 kB / 3.403 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/6.019, allocations: 61.28 kB / 3.404 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/6.02, allocations: 30.62 kB / 3.404 GB, free: 142.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006681/6.02, allocations: 0.6693 MB / 3.404 GB, free: 142.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.02, allocations: 0 / 3.404 GB, free: 142.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001868/6.022, allocations: 0.7781 MB / 3.405 GB, free: 142.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (76): * Single equations (assignments): 73 * 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.003498/6.026, allocations: 4.361 MB / 3.409 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002248/6.028, allocations: 1.879 MB / 3.411 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/6.028, allocations: 6.844 kB / 3.411 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007035/6.029, allocations: 0.6587 MB / 3.412 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/6.032, allocations: 0.7789 MB / 3.412 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/6.035, allocations: 3.011 MB / 3.415 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/6.036, allocations: 1.446 MB / 3.417 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00213/6.038, allocations: 0.9929 MB / 3.418 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/6.038, allocations: 440.9 kB / 3.418 GB, free: 138.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/6.038, allocations: 3.938 kB / 3.418 GB, free: 138.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/6.109, allocations: 63.25 MB / 3.48 GB, free: 89.09 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/6.109, allocations: 256.9 kB / 3.48 GB, free: 88.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/9.61, allocations: 9.594 kB / 3.48 GB, free: 88.76 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)