Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox",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.7729/0.7729, 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.001025/0.001025, allocations: 189 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.317/1.317, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008394/0.0008394, allocations: 99.23 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 273.9 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.503e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4011, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.973/4.374, allocations: 1.876 GB / 2.64 GB, free: 172.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/4.374, allocations: 98.81 kB / 2.64 GB, free: 172.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.802/6.176, allocations: 0.6114 GB / 3.252 GB, free: 84.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/6.176, allocations: 4 kB / 3.252 GB, free: 84.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.314e-05/6.176, allocations: 24 kB / 3.252 GB, free: 84.12 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002235/6.179, allocations: 1.284 MB / 3.253 GB, free: 82.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/6.179, allocations: 8.031 kB / 3.253 GB, free: 82.78 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/6.179, allocations: 90.52 kB / 3.253 GB, free: 82.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/6.181, allocations: 238.4 kB / 3.253 GB, free: 82.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/6.182, allocations: 0.9925 MB / 3.254 GB, free: 81.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/6.182, allocations: 41 kB / 3.254 GB, free: 81.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/6.182, allocations: 67.91 kB / 3.254 GB, free: 81.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008188/6.183, allocations: 0.5803 MB / 3.255 GB, free: 80.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/6.183, allocations: 0 / 3.255 GB, free: 80.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/6.183, allocations: 19.98 kB / 3.255 GB, free: 80.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/6.183, allocations: 24.94 kB / 3.255 GB, free: 80.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/6.184, allocations: 0.5545 MB / 3.256 GB, free: 80.11 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.003361/6.188, allocations: 2.72 MB / 3.258 GB, free: 77.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/6.188, allocations: 0.5297 MB / 3.259 GB, free: 76.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/6.189, allocations: 315.8 kB / 3.259 GB, free: 76.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/6.189, allocations: 291.3 kB / 3.259 GB, free: 76.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/6.189, allocations: 43.23 kB / 3.259 GB, free: 76 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000838/6.19, allocations: 227.4 kB / 3.26 GB, free: 75.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 1.071e-05/6.19, allocations: 4 kB / 3.26 GB, free: 75.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.001181/6.191, allocations: 0.6797 MB / 3.26 GB, free: 75.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/6.191, allocations: 55.41 kB / 3.26 GB, free: 75.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/6.192, allocations: 1.091 MB / 3.261 GB, free: 73.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/6.192, allocations: 41.7 kB / 3.261 GB, free: 73.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/6.193, allocations: 440 kB / 3.262 GB, free: 73.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/6.193, allocations: 165.6 kB / 3.262 GB, free: 73.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/6.193, allocations: 8 kB / 3.262 GB, free: 73.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/6.193, allocations: 322 kB / 3.262 GB, free: 72.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/6.193, allocations: 224.7 kB / 3.263 GB, free: 72.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/6.194, allocations: 450.2 kB / 3.263 GB, free: 72.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/6.194, allocations: 291.2 kB / 3.263 GB, free: 71.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/6.194, allocations: 0 / 3.263 GB, free: 71.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008937/6.195, allocations: 0.6601 MB / 3.264 GB, free: 71.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/6.195, allocations: 108.3 kB / 3.264 GB, free: 71.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/6.195, allocations: 0 / 3.264 GB, free: 71.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/6.195, allocations: 4 kB / 3.264 GB, free: 71.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/6.196, allocations: 131.8 kB / 3.264 GB, free: 71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/6.196, allocations: 4 kB / 3.264 GB, free: 71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/6.197, allocations: 111.9 kB / 3.264 GB, free: 70.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/6.197, allocations: 31.95 kB / 3.264 GB, free: 70.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/6.197, allocations: 4 kB / 3.264 GB, free: 70.86 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007315/6.198, allocations: 0.5386 MB / 3.265 GB, free: 70.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-06/6.198, allocations: 3.984 kB / 3.265 GB, free: 70.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/6.198, allocations: 7.984 kB / 3.265 GB, free: 70.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/6.198, allocations: 131.9 kB / 3.265 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/6.198, allocations: 11.89 kB / 3.265 GB, free: 70.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/6.199, allocations: 119.8 kB / 3.265 GB, free: 70.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/6.199, allocations: 31.95 kB / 3.265 GB, free: 70.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/6.199, allocations: 132.9 kB / 3.265 GB, free: 69.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/6.2, allocations: 102.7 kB / 3.265 GB, free: 69.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/6.201, allocations: 0.7598 MB / 3.266 GB, free: 69.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/6.201, allocations: 8 kB / 3.266 GB, free: 69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/6.201, allocations: 0 / 3.266 GB, free: 69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/6.201, allocations: 7.938 kB / 3.266 GB, free: 68.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/6.203, allocations: 1.906 MB / 3.268 GB, free: 67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/6.203, allocations: 0 / 3.268 GB, free: 67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006751/6.204, allocations: 124.1 kB / 3.268 GB, free: 66.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/6.204, allocations: 4 kB / 3.268 GB, free: 66.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/6.204, allocations: 12 kB / 3.268 GB, free: 66.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/6.204, allocations: 4 kB / 3.268 GB, free: 66.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/6.204, allocations: 4 kB / 3.268 GB, free: 66.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/6.205, allocations: 1.247 MB / 3.269 GB, free: 65.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/6.206, allocations: 311.5 kB / 3.27 GB, free: 65.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/6.206, allocations: 12 kB / 3.27 GB, free: 65.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/6.207, allocations: 87.88 kB / 3.27 GB, free: 65.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/6.207, allocations: 47.83 kB / 3.27 GB, free: 65.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/6.207, allocations: 24 kB / 3.27 GB, free: 65.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001122/6.209, allocations: 0.8592 MB / 3.271 GB, free: 64.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.62e-07/6.209, allocations: 0 / 3.271 GB, free: 64.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00177/6.21, allocations: 0.558 MB / 3.271 GB, free: 63.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003162/6.214, allocations: 3.902 MB / 3.275 GB, free: 59.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001122/6.215, allocations: 0.8449 MB / 3.276 GB, free: 58.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/6.215, allocations: 3.938 kB / 3.276 GB, free: 58.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/6.215, allocations: 292.1 kB / 3.276 GB, free: 58.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/6.217, allocations: 458.7 kB / 3.276 GB, free: 57.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/6.219, allocations: 1.495 MB / 3.278 GB, free: 56.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/6.22, allocations: 1.071 MB / 3.279 GB, free: 55.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001407/6.221, allocations: 414.7 kB / 3.279 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/6.221, allocations: 363.3 kB / 3.28 GB, free: 54.53 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/6.221, allocations: 0 / 3.28 GB, free: 54.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4221/6.643, allocations: 58.57 MB / 3.337 GB, free: 134.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/6.644, allocations: 206 kB / 3.337 GB, free: 134 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.892/10.54, allocations: 3.156 kB / 3.337 GB, free: 134 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)