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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0008339/0.0008338, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00496/0.00496, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8785/0.8785, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 83.42 MB / 0.598 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4717/0.6223, allocations: 185 MB / 0.7786 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006756/0.6291, allocations: 4.278 MB / 0.7828 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009205/0.63, allocations: 27.81 kB / 0.7829 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.6312, allocations: 425.6 kB / 0.7833 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.6346, allocations: 1.459 MB / 0.7847 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.6376, allocations: 1.235 MB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002894/0.6405, allocations: 2.784 MB / 0.7886 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.6418, allocations: 0.9091 MB / 0.7895 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.6432, allocations: 0.8209 MB / 0.7903 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.6442, allocations: 0.8092 MB / 0.7911 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.6444, allocations: 63.98 kB / 0.7911 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.6468, allocations: 1.364 MB / 0.7925 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004452/0.6473, allocations: 330.7 kB / 0.7928 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008117/0.6481, allocations: 0.5806 MB / 0.7934 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.6515, allocations: 2.044 MB / 0.7954 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.6515, allocations: 4 kB / 0.7954 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.776e-06/0.6515, allocations: 0 / 0.7954 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.6516, allocations: 0 / 0.7954 GB, free: 1.684 MB / 0.6075 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.003935/0.6555, allocations: 1.499 MB / 0.7968 GB, free: 140 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6556, allocations: 8.031 kB / 0.7968 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.6557, allocations: 90.52 kB / 0.7969 GB, free: 32 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008115/0.6565, allocations: 182.5 kB / 0.7971 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.6581, allocations: 1.041 MB / 0.7981 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.6583, allocations: 60.94 kB / 0.7982 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.6584, allocations: 56 kB / 0.7982 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.6596, allocations: 0.6271 MB / 0.7988 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6596, allocations: 4 kB / 0.7988 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.6597, allocations: 20 kB / 0.7989 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.6597, allocations: 20.94 kB / 0.7989 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.661, allocations: 0.648 MB / 0.7995 GB, free: 13.31 MB / 0.6231 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.004338/0.6654, allocations: 2.677 MB / 0.8021 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.6665, allocations: 0.5651 MB / 0.8027 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006309/0.6671, allocations: 357.2 kB / 0.803 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.6675, allocations: 287.3 kB / 0.8033 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.6676, allocations: 34.56 kB / 0.8033 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007816/0.6684, allocations: 159.6 kB / 0.8035 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.6684, allocations: 4 kB / 0.8035 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.00227/0.6706, allocations: 1.054 MB / 0.8045 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.6707, allocations: 59.41 kB / 0.8046 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.6726, allocations: 1.267 MB / 0.8058 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.6727, allocations: 45.64 kB / 0.8058 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.6731, allocations: 437.7 kB / 0.8063 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.6732, allocations: 145.8 kB / 0.8064 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.6733, allocations: 37.7 kB / 0.8064 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.6734, allocations: 329.9 kB / 0.8068 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.6739, allocations: 276.6 kB / 0.807 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007615/0.6747, allocations: 491.1 kB / 0.8075 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6759, allocations: 0.6194 MB / 0.8081 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6759, allocations: 0 / 0.8081 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00146/0.6774, allocations: 0.7574 MB / 0.8088 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.6775, allocations: 100.4 kB / 0.8089 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6775, allocations: 0 / 0.8089 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.6775, allocations: 0 / 0.8089 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.6782, allocations: 127.8 kB / 0.809 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6782, allocations: 7.938 kB / 0.8091 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.6794, allocations: 135.2 kB / 0.8092 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.6795, allocations: 23.97 kB / 0.8092 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.6795, allocations: 5.562 kB / 0.8092 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/0.6807, allocations: 0.6316 MB / 0.8098 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6808, allocations: 8 kB / 0.8098 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/0.6808, allocations: 4 kB / 0.8098 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.6814, allocations: 123.8 kB / 0.81 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.6814, allocations: 0 / 0.81 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.6825, allocations: 130.6 kB / 0.8101 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.6826, allocations: 19.97 kB / 0.8101 GB, free: 2.109 MB / 0.6231 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.000384/0.683, allocations: 333 kB / 0.8104 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6831, allocations: 98.78 kB / 0.8105 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.6849, allocations: 0.8392 MB / 0.8113 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6849, allocations: 4 kB / 0.8113 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6849, allocations: 0 / 0.8113 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6849, allocations: 4 kB / 0.8113 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.6879, allocations: 1.976 MB / 0.8133 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.6879, allocations: 4 kB / 0.8133 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.6884, allocations: 112.2 kB / 0.8134 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6885, allocations: 4 kB / 0.8134 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.6885, allocations: 23.92 kB / 0.8134 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.6885, allocations: 7.938 kB / 0.8134 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6885, allocations: 0 / 0.8134 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.6906, allocations: 1.279 MB / 0.8147 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.691, allocations: 295.6 kB / 0.8149 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.6912, allocations: 19.94 kB / 0.815 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.6921, allocations: 79.88 kB / 0.815 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.6922, allocations: 39.95 kB / 0.8151 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.6923, allocations: 19.98 kB / 0.8151 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001346/0.6936, allocations: 0.9208 MB / 0.816 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6937, allocations: 4 kB / 0.816 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00101/0.6947, allocations: 403.4 kB / 0.8164 GB, free: 11.5 MB / 0.6387 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.002625/0.6973, allocations: 1.932 MB / 0.8183 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.6993, allocations: 0.9718 MB / 0.8192 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6993, allocations: 0 / 0.8192 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.7, allocations: 356.4 kB / 0.8196 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.7028, allocations: 469.1 kB / 0.82 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.7199, allocations: 9.305 MB / 0.8291 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.7207, allocations: 1.045 MB / 0.8301 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001269/0.722, allocations: 288.5 kB / 0.8304 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007147/0.7227, allocations: 387.3 kB / 0.8308 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.464e-06/0.7227, allocations: 0 / 0.8308 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.7716, allocations: 28.84 MB / 0.8589 GB, free: 16 kB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2462/1.018, allocations: 261.8 kB / 0.8592 GB, free: 217 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.336, allocations: 0 / 0.8592 GB, free: 217 MB / 0.67 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/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)