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.7103/0.7103, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 170.9 kB / 164.6 MB, free: 11.62 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.34/1.34, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.0008205/0.0008204, allocations: 93.84 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.729e-05, allocations: 2.719 kB / 0.5467 GB, free: 95.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 76.78 MB / 0.6216 GB, free: 42.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.703/4.833, allocations: 2.157 GB / 2.779 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/4.833, allocations: 94.58 kB / 2.779 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.951/6.785, allocations: 0.5917 GB / 3.371 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/6.785, allocations: 0 / 3.371 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.737e-05/6.785, allocations: 25.25 kB / 3.371 GB, free: 120.1 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.003334/6.788, allocations: 1.271 MB / 3.372 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/6.788, allocations: 10.69 kB / 3.372 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/6.791, allocations: 251.6 kB / 3.372 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/6.793, allocations: 0.8639 MB / 3.373 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/6.793, allocations: 18.64 kB / 3.373 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/6.793, allocations: 33.03 kB / 3.373 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009072/6.794, allocations: 0.5457 MB / 3.374 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/6.795, allocations: 0.5852 MB / 3.374 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/6.795, allocations: 0 / 3.374 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/6.795, allocations: 0 / 3.374 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/6.795, allocations: 9.125 kB / 3.374 GB, free: 118.4 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.004099/6.799, allocations: 2.401 MB / 3.377 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/6.8, allocations: 0.5266 MB / 3.377 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/6.8, allocations: 310.9 kB / 3.377 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/6.801, allocations: 288.2 kB / 3.378 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/6.801, allocations: 48.16 kB / 3.378 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001029/6.802, allocations: 205.9 kB / 3.378 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 4.718e-06/6.802, allocations: 3.844 kB / 3.378 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.002129/6.804, allocations: 0.7733 MB / 3.379 GB, free: 116 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/6.804, allocations: 138.6 kB / 3.379 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/6.805, allocations: 0.7526 MB / 3.379 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/6.805, allocations: 29.02 kB / 3.379 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/6.805, allocations: 419.8 kB / 3.38 GB, free: 115 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/6.805, allocations: 140.7 kB / 3.38 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/6.806, allocations: 0 / 3.38 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/6.806, allocations: 328.9 kB / 3.38 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/6.806, allocations: 267 kB / 3.381 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/6.806, allocations: 455.3 kB / 3.381 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/6.807, allocations: 322 kB / 3.381 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/6.807, allocations: 0 / 3.381 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001237/6.808, allocations: 0.7525 MB / 3.382 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/6.808, allocations: 97.78 kB / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/6.808, allocations: 3.938 kB / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/6.808, allocations: 0 / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/6.809, allocations: 165.6 kB / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/6.809, allocations: 0 / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/6.81, allocations: 87.84 kB / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/6.811, allocations: 41.52 kB / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/6.811, allocations: 3.844 kB / 3.382 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009644/6.812, allocations: 0.5706 MB / 3.383 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/6.812, allocations: 7.484 kB / 3.383 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/6.812, allocations: 0 / 3.383 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/6.812, allocations: 127.4 kB / 3.383 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/6.812, allocations: 10.84 kB / 3.383 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/6.813, allocations: 69.86 kB / 3.383 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/6.813, allocations: 34.78 kB / 3.383 GB, free: 113 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.0002054/6.814, allocations: 118.8 kB / 3.383 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001055/6.815, allocations: 0.6571 MB / 3.384 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/6.815, allocations: 83.38 kB / 3.384 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/6.816, allocations: 0.7521 MB / 3.385 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/6.816, allocations: 7.859 kB / 3.385 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/6.816, allocations: 0 / 3.385 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/6.816, allocations: 0 / 3.385 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/6.819, allocations: 1.726 MB / 3.387 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/6.819, allocations: 3.875 kB / 3.387 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/6.82, allocations: 141.9 kB / 3.387 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/6.82, allocations: 6.688 kB / 3.387 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/6.82, allocations: 15.98 kB / 3.387 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/6.82, allocations: 7.938 kB / 3.387 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/6.82, allocations: 4 kB / 3.387 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/6.821, allocations: 1.26 MB / 3.388 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/6.822, allocations: 191.9 kB / 3.388 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/6.822, allocations: 11.94 kB / 3.388 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008777/6.823, allocations: 77.73 kB / 3.388 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/6.823, allocations: 35.94 kB / 3.388 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/6.823, allocations: 20 kB / 3.388 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008146/6.824, allocations: 0.592 MB / 3.389 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/6.824, allocations: 0 / 3.389 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001914/6.826, allocations: 0.5108 MB / 3.389 GB, free: 108 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.004631/6.83, allocations: 4.188 MB / 3.393 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00177/6.832, allocations: 0.9917 MB / 3.394 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/6.832, allocations: 0 / 3.394 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004142/6.833, allocations: 307.1 kB / 3.395 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/6.835, allocations: 391.8 kB / 3.395 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006283/6.841, allocations: 1.804 MB / 3.397 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/6.842, allocations: 1.051 MB / 3.398 GB, free: 99.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002139/6.844, allocations: 340.8 kB / 3.398 GB, free: 99.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/6.845, allocations: 347.3 kB / 3.398 GB, free: 98.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.803e-06/6.845, allocations: 4 kB / 3.398 GB, free: 98.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07598/6.921, allocations: 38.71 MB / 3.436 GB, free: 60.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/6.921, allocations: 175.1 kB / 3.436 GB, free: 60.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.708/10.63, allocations: 0 / 3.436 GB, free: 60.36 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)