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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.025/1.025, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 83.41 MB / 0.5974 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5536/0.7417, allocations: 157.7 MB / 0.7514 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009492/0.7512, allocations: 4.142 MB / 0.7554 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.7533, allocations: 31.75 kB / 0.7554 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.7551, allocations: 453.8 kB / 0.7559 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.7606, allocations: 1.487 MB / 0.7573 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.7636, allocations: 0.9161 MB / 0.7582 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003107/0.7667, allocations: 1.29 MB / 0.7595 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.7683, allocations: 0.867 MB / 0.7603 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.7701, allocations: 0.8449 MB / 0.7611 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/0.771, allocations: 0.6344 MB / 0.7618 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.7712, allocations: 56 kB / 0.7618 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.7731, allocations: 0.6631 MB / 0.7625 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.7735, allocations: 314.9 kB / 0.7628 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.7738, allocations: 225.1 kB / 0.763 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.7756, allocations: 1.494 MB / 0.7644 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7756, allocations: 0 / 0.7644 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7756, allocations: 0 / 0.7644 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.7757, allocations: 0 / 0.7644 GB, free: 0.8906 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.004081/0.7798, allocations: 1.495 MB / 0.7659 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.7798, allocations: 12.03 kB / 0.7659 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.78, allocations: 90.45 kB / 0.766 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009131/0.7809, allocations: 190.5 kB / 0.7662 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.783, allocations: 1.003 MB / 0.7672 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.7832, allocations: 48.98 kB / 0.7672 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7833, allocations: 60 kB / 0.7673 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.7845, allocations: 0.6192 MB / 0.7679 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7845, allocations: 0 / 0.7679 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.7846, allocations: 16 kB / 0.7679 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.7846, allocations: 17 kB / 0.7679 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.786, allocations: 0.648 MB / 0.7685 GB, free: 12.58 MB / 0.5919 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.004648/0.7906, allocations: 2.681 MB / 0.7711 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.7918, allocations: 0.5697 MB / 0.7717 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.7919, allocations: 19.98 kB / 0.7717 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.7919, allocations: 34.56 kB / 0.7718 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007717/0.7927, allocations: 162.6 kB / 0.7719 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.7927, allocations: 4 kB / 0.7719 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002365/0.7951, allocations: 1.058 MB / 0.7729 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.7951, allocations: 59.34 kB / 0.773 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.7973, allocations: 1.259 MB / 0.7742 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.402e-05/0.7974, allocations: 45.64 kB / 0.7743 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.7978, allocations: 433.7 kB / 0.7747 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.7979, allocations: 149.8 kB / 0.7748 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.798, allocations: 12 kB / 0.7748 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7981, allocations: 318 kB / 0.7751 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.7987, allocations: 272.6 kB / 0.7754 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007978/0.7995, allocations: 484.2 kB / 0.7759 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.8001, allocations: 327.6 kB / 0.7762 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8002, allocations: 0 / 0.7762 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001542/0.8017, allocations: 0.7496 MB / 0.7769 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.113e-05/0.8018, allocations: 103.4 kB / 0.777 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.8018, allocations: 0 / 0.777 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8018, allocations: 3.938 kB / 0.777 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.8025, allocations: 127.8 kB / 0.7771 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8025, allocations: 4 kB / 0.7771 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.8038, allocations: 119 kB / 0.7773 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.8039, allocations: 27.91 kB / 0.7773 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.8039, allocations: 4 kB / 0.7773 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.8052, allocations: 0.6316 MB / 0.7779 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.8052, allocations: 0 / 0.7779 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.8053, allocations: 3.984 kB / 0.7779 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.8059, allocations: 123.8 kB / 0.778 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8059, allocations: 8 kB / 0.778 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.8072, allocations: 123.5 kB / 0.7781 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.8072, allocations: 27.97 kB / 0.7782 GB, free: 2.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005096/0.8078, allocations: 325 kB / 0.7785 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.808, allocations: 98.78 kB / 0.7786 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.8097, allocations: 0.8382 MB / 0.7794 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8098, allocations: 4 kB / 0.7794 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8098, allocations: 0 / 0.7794 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8098, allocations: 7.938 kB / 0.7794 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.8131, allocations: 1.972 MB / 0.7813 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.8131, allocations: 4.281 kB / 0.7813 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.8137, allocations: 115.9 kB / 0.7814 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.8137, allocations: 4 kB / 0.7815 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.8138, allocations: 16 kB / 0.7815 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.8138, allocations: 12.5 kB / 0.7815 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8138, allocations: 0 / 0.7815 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.8161, allocations: 1.375 MB / 0.7828 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.8167, allocations: 291.7 kB / 0.7831 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.8168, allocations: 24.05 kB / 0.7831 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.8179, allocations: 76.33 kB / 0.7832 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.818, allocations: 51.88 kB / 0.7832 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.818, allocations: 16 kB / 0.7833 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001574/0.8196, allocations: 0.9169 MB / 0.7842 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8196, allocations: 0 / 0.7842 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001189/0.8208, allocations: 407.4 kB / 0.7845 GB, free: 11.67 MB / 0.6075 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.003258/0.8241, allocations: 2.647 MB / 0.7871 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.8263, allocations: 0.9717 MB / 0.7881 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8264, allocations: 0 / 0.7881 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.827, allocations: 352.5 kB / 0.7884 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.8296, allocations: 451.5 kB / 0.7888 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.843, allocations: 6.676 MB / 0.7954 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000974/0.844, allocations: 1.065 MB / 0.7964 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001317/0.8453, allocations: 296.9 kB / 0.7967 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/0.846, allocations: 387.3 kB / 0.7971 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of SimCode: time 1.703e-06/0.846, allocations: 0 / 0.7971 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/0.8966, allocations: 29.03 MB / 0.8254 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.8968, allocations: 228.9 kB / 0.8256 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.397, allocations: 0 / 0.8256 GB, free: 1.711 MB / 0.6387 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) Environment - environmentSimulation: