Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 177.1 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 13.47 kB / 493 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5987/0.7774, allocations: 157.6 MB / 0.7107 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007295/0.7847, allocations: 4.135 MB / 0.7147 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.7859, allocations: 23.81 kB / 0.7147 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.7874, allocations: 465.7 kB / 0.7152 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.7916, allocations: 1.469 MB / 0.7166 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.7941, allocations: 0.9107 MB / 0.7175 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002939/0.797, allocations: 1.29 MB / 0.7187 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.7985, allocations: 0.8648 MB / 0.7196 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.8005, allocations: 0.845 MB / 0.7204 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009611/0.8014, allocations: 0.6382 MB / 0.721 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.8016, allocations: 56 kB / 0.7211 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.8035, allocations: 0.663 MB / 0.7217 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.8039, allocations: 315 kB / 0.722 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.8042, allocations: 221.1 kB / 0.7222 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.8056, allocations: 1.404 MB / 0.7236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8056, allocations: 0 / 0.7236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8056, allocations: 0 / 0.7236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.8057, allocations: 0 / 0.7236 GB, free: 15.14 MB / 0.545 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.003744/0.8094, allocations: 1.499 MB / 0.7251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.8095, allocations: 8.031 kB / 0.7251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.8096, allocations: 86.52 kB / 0.7252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008465/0.8105, allocations: 190.4 kB / 0.7254 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.8126, allocations: 0.9953 MB / 0.7263 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.8127, allocations: 56.92 kB / 0.7264 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.8128, allocations: 67.94 kB / 0.7264 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.814, allocations: 0.6192 MB / 0.727 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.8141, allocations: 3 kB / 0.7271 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.8142, allocations: 23.94 kB / 0.7271 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.8142, allocations: 21 kB / 0.7271 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.8155, allocations: 0.6441 MB / 0.7277 GB, free: 10.82 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004375/0.8199, allocations: 2.666 MB / 0.7303 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.821, allocations: 0.5647 MB / 0.7309 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.8211, allocations: 28.62 kB / 0.7309 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.8211, allocations: 34.56 kB / 0.7309 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007889/0.8219, allocations: 159.6 kB / 0.7311 GB, free: 7.219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.8219, allocations: 0 / 0.7311 GB, free: 7.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.002285/0.8242, allocations: 1.052 MB / 0.7321 GB, free: 6.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.8243, allocations: 63.36 kB / 0.7322 GB, free: 6.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.8265, allocations: 1.263 MB / 0.7334 GB, free: 4.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.8266, allocations: 33.7 kB / 0.7334 GB, free: 4.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.827, allocations: 441.6 kB / 0.7339 GB, free: 4.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.8271, allocations: 153.8 kB / 0.734 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.8272, allocations: 4 kB / 0.734 GB, free: 4.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8273, allocations: 326 kB / 0.7343 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.8278, allocations: 268.6 kB / 0.7346 GB, free: 3.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.8286, allocations: 484.4 kB / 0.735 GB, free: 3.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.8292, allocations: 325 kB / 0.7354 GB, free: 2.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.8292, allocations: 0 / 0.7354 GB, free: 2.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001465/0.8307, allocations: 0.7501 MB / 0.7361 GB, free: 1.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.8308, allocations: 89.48 kB / 0.7362 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8308, allocations: 4 kB / 0.7362 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.8308, allocations: 11.94 kB / 0.7362 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.8315, allocations: 127.8 kB / 0.7363 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.8315, allocations: 3.984 kB / 0.7363 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.8328, allocations: 133.1 kB / 0.7364 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.8328, allocations: 19.97 kB / 0.7365 GB, free: 1.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.8328, allocations: 4 kB / 0.7365 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.8342, allocations: 0.632 MB / 0.7371 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.8342, allocations: 4 kB / 0.7371 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.8342, allocations: 4 kB / 0.7371 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.8348, allocations: 119.8 kB / 0.7372 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.8349, allocations: 0 / 0.7372 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.8361, allocations: 136.3 kB / 0.7373 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.8362, allocations: 15.98 kB / 0.7373 GB, free: 0.6758 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0004335/0.8366, allocations: 329 kB / 0.7377 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.8368, allocations: 102.7 kB / 0.7378 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.8384, allocations: 0.8342 MB / 0.7386 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.8385, allocations: 4 kB / 0.7386 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8385, allocations: 0 / 0.7386 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.8385, allocations: 7.984 kB / 0.7386 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.8415, allocations: 1.973 MB / 0.7405 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.8415, allocations: 4 kB / 0.7405 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/0.842, allocations: 120.1 kB / 0.7406 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.8421, allocations: 4 kB / 0.7406 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.8421, allocations: 16 kB / 0.7406 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.8421, allocations: 7.953 kB / 0.7407 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8421, allocations: 8 kB / 0.7407 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.8442, allocations: 1.379 MB / 0.742 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.8447, allocations: 295.7 kB / 0.7423 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.8448, allocations: 12 kB / 0.7423 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009831/0.8458, allocations: 79.91 kB / 0.7424 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.8459, allocations: 51.83 kB / 0.7424 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.846, allocations: 20 kB / 0.7424 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001371/0.8474, allocations: 0.9091 MB / 0.7433 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8474, allocations: 0 / 0.7433 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001148/0.8485, allocations: 403.4 kB / 0.7437 GB, free: 9.918 MB / 0.5606 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 () * Number of clocked 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.002832/0.8514, allocations: 2.655 MB / 0.7463 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002/0.8534, allocations: 0.9668 MB / 0.7473 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8534, allocations: 0 / 0.7473 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.854, allocations: 348.5 kB / 0.7476 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.8564, allocations: 437.5 kB / 0.748 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.8686, allocations: 6.691 MB / 0.7545 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.8693, allocations: 1.061 MB / 0.7556 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001238/0.8705, allocations: 295 kB / 0.7559 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000593/0.8711, allocations: 387.3 kB / 0.7562 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.8712, allocations: 0 / 0.7562 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04891/0.9201, allocations: 28.94 MB / 0.7845 GB, free: 260 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.9203, allocations: 227.8 kB / 0.7847 GB, free: 4 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.358/4.279, allocations: 0 / 0.7847 GB, free: 4 kB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: