Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",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.6918/0.6918, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 176.8 kB / 169.7 MB, free: 1.734 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.367/1.367, allocations: 205.1 MB / 404.5 MB, free: 1.668 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.0007701/0.0007701, allocations: 90.17 kB / 481.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.441e-05, allocations: 8 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 76.75 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.561/4.684, allocations: 2.158 GB / 2.786 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/4.684, allocations: 99.98 kB / 2.786 GB, free: 121 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.807/6.491, allocations: 0.5987 GB / 3.385 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/6.491, allocations: 0 / 3.385 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001057/6.491, allocations: 28 kB / 3.385 GB, free: 18.05 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.003048/6.494, allocations: 1.278 MB / 3.386 GB, free: 16.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/6.494, allocations: 8.031 kB / 3.386 GB, free: 16.71 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/6.495, allocations: 86.52 kB / 3.386 GB, free: 16.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/6.497, allocations: 254.2 kB / 3.387 GB, free: 16.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/6.499, allocations: 0.8588 MB / 3.387 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/6.499, allocations: 45 kB / 3.387 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/6.499, allocations: 63.94 kB / 3.387 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/6.501, allocations: 0.7621 MB / 3.388 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/6.501, allocations: 0 / 3.388 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/6.501, allocations: 23.95 kB / 3.388 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/6.501, allocations: 12 kB / 3.388 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/6.502, allocations: 0.6716 MB / 3.389 GB, free: 13.88 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.003945/6.506, allocations: 2.52 MB / 3.391 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/6.508, allocations: 0.6586 MB / 3.392 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/6.508, allocations: 309.3 kB / 3.392 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/6.509, allocations: 292.6 kB / 3.393 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/6.509, allocations: 42.5 kB / 3.393 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001075/6.51, allocations: 227.3 kB / 3.393 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.848e-06/6.51, allocations: 0 / 3.393 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.002668/6.512, allocations: 0.9137 MB / 3.394 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/6.512, allocations: 140.5 kB / 3.394 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/6.514, allocations: 0.8798 MB / 3.395 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/6.514, allocations: 37.7 kB / 3.395 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/6.514, allocations: 430 kB / 3.395 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/6.514, allocations: 141.8 kB / 3.395 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/6.514, allocations: 12 kB / 3.395 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/6.514, allocations: 322 kB / 3.396 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/6.515, allocations: 272.9 kB / 3.396 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/6.515, allocations: 469.1 kB / 3.396 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/6.516, allocations: 316.8 kB / 3.397 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/6.516, allocations: 0 / 3.397 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001247/6.517, allocations: 0.7743 MB / 3.397 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/6.517, allocations: 95.53 kB / 3.397 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/6.517, allocations: 7.953 kB / 3.397 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/6.517, allocations: 0 / 3.397 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/6.518, allocations: 167.7 kB / 3.398 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/6.518, allocations: 0 / 3.398 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/6.519, allocations: 100 kB / 3.398 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/6.519, allocations: 39.95 kB / 3.398 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/6.519, allocations: 4 kB / 3.398 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008982/6.52, allocations: 0.6059 MB / 3.398 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/6.52, allocations: 4 kB / 3.398 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/6.52, allocations: 4 kB / 3.398 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/6.521, allocations: 131.8 kB / 3.399 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/6.521, allocations: 4 kB / 3.399 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/6.522, allocations: 84 kB / 3.399 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/6.522, allocations: 35.95 kB / 3.399 GB, free: 3.535 MB / 0.6511 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 (53): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001831/6.522, allocations: 145.1 kB / 3.399 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/6.522, allocations: 94.78 kB / 3.399 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/6.524, allocations: 0.7786 MB / 3.4 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/6.524, allocations: 7.938 kB / 3.4 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/6.524, allocations: 0 / 3.4 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/6.524, allocations: 7.984 kB / 3.4 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/6.526, allocations: 1.84 MB / 3.401 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/6.526, allocations: 4 kB / 3.401 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/6.527, allocations: 139.8 kB / 3.402 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/6.527, allocations: 16.17 kB / 3.402 GB, free: 420 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/6.527, allocations: 15.98 kB / 3.402 GB, free: 404 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/6.527, allocations: 4 kB / 3.402 GB, free: 400 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/6.527, allocations: 4 kB / 3.402 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4151/6.942, allocations: 1.307 MB / 3.403 GB, free: 98.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/6.943, allocations: 198.5 kB / 3.403 GB, free: 98.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/6.943, allocations: 13.33 kB / 3.403 GB, free: 98.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/6.944, allocations: 86.19 kB / 3.403 GB, free: 98.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/6.944, allocations: 49.58 kB / 3.403 GB, free: 98.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/6.944, allocations: 22.59 kB / 3.403 GB, free: 98.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001242/6.945, allocations: 0.6921 MB / 3.404 GB, free: 98.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.242e-06/6.945, allocations: 0 / 3.404 GB, free: 98.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002315/6.948, allocations: 0.5686 MB / 3.404 GB, free: 98.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.005206/6.953, allocations: 4.045 MB / 3.408 GB, free: 96.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002056/6.955, allocations: 1.025 MB / 3.409 GB, free: 96.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/6.955, allocations: 1.031 kB / 3.409 GB, free: 96.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000586/6.956, allocations: 320.5 kB / 3.41 GB, free: 96.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/6.958, allocations: 449.8 kB / 3.41 GB, free: 96.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/6.964, allocations: 1.874 MB / 3.412 GB, free: 96.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/6.965, allocations: 1.059 MB / 3.413 GB, free: 95.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001772/6.966, allocations: 373.5 kB / 3.413 GB, free: 95.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/6.967, allocations: 352 kB / 3.414 GB, free: 95.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/6.967, allocations: 0 / 3.414 GB, free: 95.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/7.074, allocations: 58.5 MB / 3.471 GB, free: 94.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/7.075, allocations: 195.9 kB / 3.471 GB, free: 94.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.272/11.35, allocations: 0 / 3.471 GB, free: 94.08 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)