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.0007285/0.0007285, allocations: 98.73 kB / 16.02 MB, free: 80 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.0007696/0.0007696, allocations: 184.3 kB / 16.92 MB, free: 6.754 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6522/0.6522, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8.594 kB / 496 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 77.54 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.458/0.5945, allocations: 184.9 MB / 0.7407 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006641/0.6012, allocations: 4.273 MB / 0.7448 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.6023, allocations: 23.81 kB / 0.7448 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.6035, allocations: 421.6 kB / 0.7453 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.6069, allocations: 1.455 MB / 0.7467 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.6099, allocations: 1.251 MB / 0.7479 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.6129, allocations: 2.775 MB / 0.7506 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.614, allocations: 0.9091 MB / 0.7515 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.615, allocations: 0.8092 MB / 0.7523 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008851/0.6159, allocations: 0.8247 MB / 0.7531 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.616, allocations: 56 kB / 0.7531 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.6181, allocations: 1.364 MB / 0.7545 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.6184, allocations: 330.7 kB / 0.7548 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.6189, allocations: 0.5806 MB / 0.7554 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.6206, allocations: 1.954 MB / 0.7573 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6206, allocations: 4 kB / 0.7573 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6206, allocations: 0 / 0.7573 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.6206, allocations: 0 / 0.7573 GB, free: 12.68 MB / 0.5762 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.003469/0.6241, allocations: 1.488 MB / 0.7587 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6242, allocations: 12.03 kB / 0.7587 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.6243, allocations: 86.52 kB / 0.7588 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007137/0.625, allocations: 186.4 kB / 0.759 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6266, allocations: 1.045 MB / 0.76 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.6267, allocations: 56.92 kB / 0.7601 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6268, allocations: 59.94 kB / 0.7601 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.628, allocations: 0.6232 MB / 0.7607 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.628, allocations: 0 / 0.7607 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/0.6281, allocations: 23.98 kB / 0.7608 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.6281, allocations: 17 kB / 0.7608 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.6294, allocations: 0.648 MB / 0.7614 GB, free: 8.316 MB / 0.5762 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.003595/0.633, allocations: 2.677 MB / 0.764 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.6341, allocations: 0.5568 MB / 0.7646 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.6347, allocations: 361.4 kB / 0.7649 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.6351, allocations: 291.2 kB / 0.7652 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.6351, allocations: 38.56 kB / 0.7652 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006286/0.6357, allocations: 159.6 kB / 0.7654 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.6358, allocations: 0 / 0.7654 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.002235/0.638, allocations: 1.063 MB / 0.7664 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.638, allocations: 59.41 kB / 0.7665 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.6398, allocations: 1.271 MB / 0.7677 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.6399, allocations: 33.7 kB / 0.7677 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.6403, allocations: 441.6 kB / 0.7682 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.6404, allocations: 149.8 kB / 0.7683 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.6405, allocations: 37.7 kB / 0.7683 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6406, allocations: 325.9 kB / 0.7687 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.6411, allocations: 276.6 kB / 0.7689 GB, free: 356 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.6419, allocations: 495.1 kB / 0.7694 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.6431, allocations: 0.619 MB / 0.77 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6431, allocations: 0 / 0.77 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00143/0.6446, allocations: 0.7574 MB / 0.7707 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.6446, allocations: 103.6 kB / 0.7708 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6446, allocations: 0 / 0.7708 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6446, allocations: 4 kB / 0.7708 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.6453, allocations: 127.8 kB / 0.771 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6453, allocations: 3.938 kB / 0.771 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.6465, allocations: 136.6 kB / 0.7711 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.6466, allocations: 19.97 kB / 0.7711 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.6466, allocations: 4 kB / 0.7711 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/0.6478, allocations: 0.6319 MB / 0.7717 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.6479, allocations: 3.938 kB / 0.7717 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-06/0.6479, allocations: 0 / 0.7717 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.6485, allocations: 123.8 kB / 0.7719 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.6485, allocations: 4 kB / 0.7719 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.6496, allocations: 116.9 kB / 0.772 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.6497, allocations: 27.97 kB / 0.772 GB, free: 13.11 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003554/0.6501, allocations: 326.5 kB / 0.7723 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6502, allocations: 106.6 kB / 0.7724 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.6519, allocations: 0.8344 MB / 0.7732 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6519, allocations: 12 kB / 0.7732 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6519, allocations: 0 / 0.7732 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.652, allocations: 4 kB / 0.7732 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.6549, allocations: 1.967 MB / 0.7752 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6549, allocations: 7.984 kB / 0.7752 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.6555, allocations: 116.1 kB / 0.7753 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6555, allocations: 4 kB / 0.7753 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.6555, allocations: 23.92 kB / 0.7753 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6555, allocations: 4 kB / 0.7753 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6556, allocations: 7.938 kB / 0.7753 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.6576, allocations: 1.269 MB / 0.7766 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.658, allocations: 291.6 kB / 0.7768 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.6582, allocations: 23.98 kB / 0.7769 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/0.6592, allocations: 79.81 kB / 0.7769 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6593, allocations: 39.89 kB / 0.777 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.6593, allocations: 23.98 kB / 0.777 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001422/0.6608, allocations: 0.9208 MB / 0.7779 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6608, allocations: 0 / 0.7779 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001083/0.6619, allocations: 403.4 kB / 0.7783 GB, free: 6.504 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00262/0.6645, allocations: 1.932 MB / 0.7802 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.6664, allocations: 0.9718 MB / 0.7811 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6664, allocations: 0 / 0.7811 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.6671, allocations: 360 kB / 0.7815 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.6697, allocations: 468.4 kB / 0.7819 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.6846, allocations: 9.306 MB / 0.791 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.6852, allocations: 1.045 MB / 0.792 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00118/0.6864, allocations: 295 kB / 0.7923 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/0.687, allocations: 391.3 kB / 0.7927 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.687, allocations: 0 / 0.7927 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.7327, allocations: 28.74 MB / 0.8207 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.7329, allocations: 249.5 kB / 0.821 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.167, allocations: 0 / 0.821 GB, free: 10.79 MB / 0.6387 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/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)