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: translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8424/0.8424, 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.001024/0.001024, allocations: 185 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.559/1.559, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.001083/0.001083, allocations: 103.4 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.001923/0.001923, allocations: 273.2 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.332e-05/4.336e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5412, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.266/6.807, allocations: 2.126 GB / 2.89 GB, free: 146.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/6.808, allocations: 111.6 kB / 2.89 GB, free: 146.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.923/8.73, allocations: 486.1 MB / 3.365 GB, free: 156.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/8.731, allocations: 0 / 3.365 GB, free: 156.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001073/8.731, allocations: 31.06 kB / 3.365 GB, free: 156.4 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.002962/8.734, allocations: 1.514 MB / 3.367 GB, free: 155.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/8.734, allocations: 7.375 kB / 3.367 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/8.737, allocations: 486.4 kB / 3.367 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/8.739, allocations: 1.296 MB / 3.368 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/8.739, allocations: 84.06 kB / 3.368 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/8.739, allocations: 109.1 kB / 3.369 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/8.741, allocations: 1.219 MB / 3.37 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/8.742, allocations: 3.094 kB / 3.37 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/8.742, allocations: 46.72 kB / 3.37 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/8.742, allocations: 36.41 kB / 3.37 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/8.743, allocations: 1.166 MB / 3.371 GB, free: 155.3 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.006061/8.749, allocations: 4.847 MB / 3.376 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/8.751, allocations: 0.9771 MB / 3.377 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/8.752, allocations: 0.5685 MB / 3.377 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/8.752, allocations: 202.7 kB / 3.377 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/8.752, allocations: 42 kB / 3.377 GB, free: 152.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 4.088e-06/8.752, allocations: 0 / 3.377 GB, free: 152.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.005699/8.758, allocations: 2.563 MB / 3.38 GB, free: 152.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/8.758, allocations: 60.06 kB / 3.38 GB, free: 152.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/8.759, allocations: 0.8327 MB / 3.381 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.652e-05/8.759, allocations: 42.92 kB / 3.381 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/8.76, allocations: 0.5348 MB / 3.381 GB, free: 152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/8.76, allocations: 285.4 kB / 3.382 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/8.76, allocations: 15.38 kB / 3.382 GB, free: 151.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001093/8.76, allocations: 337.4 kB / 3.382 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/8.761, allocations: 430 kB / 3.382 GB, free: 151.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/8.761, allocations: 0.5955 MB / 3.383 GB, free: 151.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/8.762, allocations: 0.5397 MB / 3.383 GB, free: 151.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/8.762, allocations: 1.938 kB / 3.383 GB, free: 151.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00176/8.764, allocations: 1.216 MB / 3.385 GB, free: 151.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002636/8.764, allocations: 1.056 MB / 3.386 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/8.764, allocations: 3.938 kB / 3.386 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/8.764, allocations: 71.73 kB / 3.386 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/8.765, allocations: 193.1 kB / 3.386 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/8.767, allocations: 2.988 MB / 3.389 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/8.769, allocations: 140.8 kB / 3.389 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/8.769, allocations: 33.16 kB / 3.389 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/8.769, allocations: 6.844 kB / 3.389 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001506/8.771, allocations: 1.097 MB / 3.39 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/8.771, allocations: 5.797 kB / 3.39 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/8.771, allocations: 70.05 kB / 3.39 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/8.771, allocations: 168.4 kB / 3.39 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/8.773, allocations: 1.816 MB / 3.392 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/8.774, allocations: 141.1 kB / 3.392 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/8.774, allocations: 30.88 kB / 3.392 GB, free: 146.2 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.0002743/8.774, allocations: 149.4 kB / 3.392 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/8.775, allocations: 110.7 kB / 3.393 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/8.777, allocations: 1.178 MB / 3.394 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/8.777, allocations: 12.08 kB / 3.394 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/8.777, allocations: 3.312 kB / 3.394 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/8.778, allocations: 1.217 MB / 3.395 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/8.782, allocations: 2.772 MB / 3.398 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/8.782, allocations: 10.16 kB / 3.398 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/8.783, allocations: 240.2 kB / 3.398 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/8.783, allocations: 72.7 kB / 3.398 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/8.783, allocations: 24.64 kB / 3.398 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/8.785, allocations: 2.979 MB / 3.401 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/8.785, allocations: 3.406 kB / 3.401 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/8.787, allocations: 2.016 MB / 3.403 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/8.788, allocations: 316.9 kB / 3.403 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/8.788, allocations: 25.55 kB / 3.403 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009525/8.789, allocations: 120.3 kB / 3.403 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/8.789, allocations: 51.48 kB / 3.403 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/8.789, allocations: 34.39 kB / 3.403 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008327/8.79, allocations: 0.6687 MB / 3.404 GB, free: 142 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/8.79, allocations: 0 / 3.404 GB, free: 142 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002385/8.793, allocations: 0.7862 MB / 3.405 GB, free: 141.9 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.002068/8.795, allocations: 1.351 MB / 3.406 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003107/8.798, allocations: 1.883 MB / 3.408 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/8.798, allocations: 7.484 kB / 3.408 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008611/8.799, allocations: 0.6487 MB / 3.409 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/8.802, allocations: 0.7921 MB / 3.409 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/8.806, allocations: 2.588 MB / 3.412 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/8.807, allocations: 1.44 MB / 3.413 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00238/8.809, allocations: 0.9976 MB / 3.414 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/8.81, allocations: 70.53 kB / 3.414 GB, free: 139.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/8.81, allocations: 0 / 3.414 GB, free: 139.9 MB / 0.698 GB Notification: Performance of Templates: time 0.062/8.872, allocations: 47.46 MB / 3.461 GB, free: 107.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)