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.7843/0.7843, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.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: 184.8 kB / 182.2 MB, free: 9.453 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.456/1.456, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001099/0.001099, allocations: 91.86 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 283.6 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.462e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4242, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.454/4.878, allocations: 1.875 GB / 2.633 GB, free: 183.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/4.878, allocations: 87.95 kB / 2.633 GB, free: 183.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.974/6.852, allocations: 0.6044 GB / 3.237 GB, free: 108.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/6.852, allocations: 0 / 3.237 GB, free: 108.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.007e-05/6.852, allocations: 34.3 kB / 3.237 GB, free: 108.2 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.002745/6.855, allocations: 1.284 MB / 3.239 GB, free: 106.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/6.855, allocations: 11.42 kB / 3.239 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/6.857, allocations: 230.4 kB / 3.239 GB, free: 106.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/6.859, allocations: 0.9971 MB / 3.24 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/6.859, allocations: 16 kB / 3.24 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/6.859, allocations: 40 kB / 3.24 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008234/6.86, allocations: 0.5297 MB / 3.24 GB, free: 105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/6.861, allocations: 0.5231 MB / 3.241 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/6.861, allocations: 4 kB / 3.241 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/6.861, allocations: 0 / 3.241 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/6.861, allocations: 21.25 kB / 3.241 GB, free: 104.5 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.003699/6.865, allocations: 2.607 MB / 3.243 GB, free: 101.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/6.865, allocations: 0.5093 MB / 3.244 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/6.866, allocations: 315.6 kB / 3.244 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/6.866, allocations: 282 kB / 3.244 GB, free: 100.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/6.866, allocations: 42.5 kB / 3.244 GB, free: 100.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00089/6.867, allocations: 198.1 kB / 3.245 GB, free: 100.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/6.867, allocations: 6.844 kB / 3.245 GB, free: 100.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.001292/6.868, allocations: 0.6842 MB / 3.245 GB, free: 99.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/6.868, allocations: 55.41 kB / 3.245 GB, free: 99.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/6.869, allocations: 0.9569 MB / 3.246 GB, free: 98.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/6.869, allocations: 25.7 kB / 3.246 GB, free: 98.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/6.87, allocations: 439.5 kB / 3.247 GB, free: 98.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/6.87, allocations: 149.8 kB / 3.247 GB, free: 98.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/6.87, allocations: 0 / 3.247 GB, free: 98.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/6.87, allocations: 322 kB / 3.247 GB, free: 97.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/6.87, allocations: 224.7 kB / 3.247 GB, free: 97.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/6.871, allocations: 446.8 kB / 3.248 GB, free: 96.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/6.871, allocations: 275.7 kB / 3.248 GB, free: 96.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/6.871, allocations: 0 / 3.248 GB, free: 96.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008777/6.872, allocations: 0.6522 MB / 3.249 GB, free: 96.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/6.872, allocations: 98.58 kB / 3.249 GB, free: 95.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/6.872, allocations: 0 / 3.249 GB, free: 95.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/6.872, allocations: 4 kB / 3.249 GB, free: 95.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/6.873, allocations: 139.8 kB / 3.249 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/6.873, allocations: 0 / 3.249 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/6.874, allocations: 111.8 kB / 3.249 GB, free: 95.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/6.874, allocations: 27.97 kB / 3.249 GB, free: 95.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/6.874, allocations: 4 kB / 3.249 GB, free: 95.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007097/6.875, allocations: 0.5074 MB / 3.25 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/6.875, allocations: 3.938 kB / 3.25 GB, free: 95.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/6.875, allocations: 7.062 kB / 3.25 GB, free: 95.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/6.875, allocations: 139.8 kB / 3.25 GB, free: 95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/6.875, allocations: 0 / 3.25 GB, free: 95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/6.877, allocations: 103.8 kB / 3.25 GB, free: 94.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/6.877, allocations: 31.97 kB / 3.25 GB, free: 94.87 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.0001529/6.877, allocations: 116.9 kB / 3.25 GB, free: 94.75 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008624/6.878, allocations: 0.6251 MB / 3.251 GB, free: 94.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/6.878, allocations: 90.88 kB / 3.251 GB, free: 94.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/6.879, allocations: 0.7086 MB / 3.251 GB, free: 93.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/6.879, allocations: 8 kB / 3.251 GB, free: 93.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.879, allocations: 0 / 3.251 GB, free: 93.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/6.879, allocations: 7.938 kB / 3.251 GB, free: 93.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/6.881, allocations: 1.797 MB / 3.253 GB, free: 91.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/6.881, allocations: 4 kB / 3.253 GB, free: 91.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/6.882, allocations: 119.8 kB / 3.253 GB, free: 91.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/6.882, allocations: 8.281 kB / 3.253 GB, free: 91.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/6.882, allocations: 15.48 kB / 3.253 GB, free: 91.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/6.882, allocations: 8 kB / 3.253 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/6.882, allocations: 0 / 3.253 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/6.883, allocations: 1.207 MB / 3.254 GB, free: 89.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/6.884, allocations: 291.7 kB / 3.255 GB, free: 89.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/6.884, allocations: 4 kB / 3.255 GB, free: 89.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/6.885, allocations: 71.91 kB / 3.255 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/6.885, allocations: 55.83 kB / 3.255 GB, free: 89.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/6.885, allocations: 23.98 kB / 3.255 GB, free: 89.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009994/6.886, allocations: 0.739 MB / 3.256 GB, free: 88.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.886, allocations: 3.938 kB / 3.256 GB, free: 88.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00161/6.888, allocations: 0.5031 MB / 3.256 GB, free: 88.27 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.003831/6.892, allocations: 4.053 MB / 3.26 GB, free: 84.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00125/6.893, allocations: 0.8287 MB / 3.261 GB, free: 83.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/6.893, allocations: 0 / 3.261 GB, free: 83.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/6.893, allocations: 283.7 kB / 3.261 GB, free: 83.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/6.896, allocations: 384.4 kB / 3.262 GB, free: 82.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/6.898, allocations: 1.422 MB / 3.263 GB, free: 81.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/6.899, allocations: 1.071 MB / 3.264 GB, free: 80.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001588/6.9, allocations: 377.9 kB / 3.264 GB, free: 79.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/6.901, allocations: 363.3 kB / 3.265 GB, free: 79.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/6.901, allocations: 0 / 3.265 GB, free: 79.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06261/6.963, allocations: 38.58 MB / 3.302 GB, free: 41.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/6.964, allocations: 188.2 kB / 3.303 GB, free: 40.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.412/10.38, allocations: 7.938 kB / 3.303 GB, free: 40.9 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)