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.001455/0.001455, allocations: 107.6 kB / 16.4 MB, free: 6.488 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.001471/0.001471, allocations: 197.2 kB / 17.34 MB, free: 5.762 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7108/0.7108, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.78 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1356, allocations: 76.19 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5023/0.638, allocations: 189.7 MB / 0.8168 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007242/0.6453, allocations: 4.29 MB / 0.821 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.6468, allocations: 29.97 kB / 0.821 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.6486, allocations: 0.5015 MB / 0.8215 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.653, allocations: 1.557 MB / 0.823 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.6565, allocations: 1.348 MB / 0.8243 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003027/0.6596, allocations: 2.275 MB / 0.8266 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.6612, allocations: 1.077 MB / 0.8276 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.6631, allocations: 0.9655 MB / 0.8286 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.6647, allocations: 0.8682 MB / 0.8294 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004426/0.6652, allocations: 141 kB / 0.8295 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.668, allocations: 1.239 MB / 0.8307 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.6686, allocations: 425.3 kB / 0.8312 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.6698, allocations: 0.6564 MB / 0.8318 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.6735, allocations: 1.961 MB / 0.8337 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.6736, allocations: 0 / 0.8337 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6736, allocations: 0 / 0.8337 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.418e-05/0.6736, allocations: 2.406 kB / 0.8337 GB, free: 1.281 MB / 0.5919 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.006767/0.6804, allocations: 1.723 MB / 0.8354 GB, free: 20 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6805, allocations: 10.44 kB / 0.8354 GB, free: 20 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.6807, allocations: 87.45 kB / 0.8355 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.682, allocations: 187.6 kB / 0.8357 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.6851, allocations: 1.069 MB / 0.8367 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/0.6852, allocations: 42.38 kB / 0.8368 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.6854, allocations: 62.41 kB / 0.8368 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.6871, allocations: 0.6215 MB / 0.8374 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.6872, allocations: 0.75 kB / 0.8374 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.6873, allocations: 17 kB / 0.8374 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/0.6873, allocations: 22.88 kB / 0.8375 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.6889, allocations: 0.6248 MB / 0.8381 GB, free: 14.34 MB / 0.6075 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.006656/0.6956, allocations: 2.652 MB / 0.8407 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.6968, allocations: 0.5396 MB / 0.8412 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.6975, allocations: 351.2 kB / 0.8415 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/0.698, allocations: 291.8 kB / 0.8418 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.698, allocations: 49.27 kB / 0.8418 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009764/0.699, allocations: 137.8 kB / 0.842 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 6.141e-06/0.699, allocations: 0 / 0.842 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002679/0.7017, allocations: 1.029 MB / 0.843 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7018, allocations: 54.16 kB / 0.843 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.704, allocations: 1.27 MB / 0.8443 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.066e-05/0.7041, allocations: 43.17 kB / 0.8443 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.7044, allocations: 432.5 kB / 0.8447 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.7046, allocations: 144.9 kB / 0.8449 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.7049, allocations: 125.4 kB / 0.845 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.705, allocations: 320.5 kB / 0.8453 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.7055, allocations: 274.8 kB / 0.8455 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.7062, allocations: 493.2 kB / 0.846 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.7074, allocations: 0.5841 MB / 0.8466 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7074, allocations: 0 / 0.8466 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001481/0.7089, allocations: 0.7378 MB / 0.8473 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7089, allocations: 4 kB / 0.8473 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7089, allocations: 0 / 0.8473 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.7089, allocations: 4 kB / 0.8473 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.7096, allocations: 131.7 kB / 0.8474 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7096, allocations: 0 / 0.8474 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.7109, allocations: 95.88 kB / 0.8475 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.7109, allocations: 19.97 kB / 0.8476 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007903/0.7117, allocations: 475.4 kB / 0.848 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006951/0.7124, allocations: 482 kB / 0.8485 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001051/0.7135, allocations: 0.5837 MB / 0.849 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.7135, allocations: 0 / 0.849 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001474/0.715, allocations: 0.7343 MB / 0.8498 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.715, allocations: 8 kB / 0.8498 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.715, allocations: 0 / 0.8498 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/0.715, allocations: 0 / 0.8498 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.7157, allocations: 123.8 kB / 0.8499 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.7157, allocations: 0 / 0.8499 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.717, allocations: 132.9 kB / 0.85 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.7171, allocations: 23.97 kB / 0.85 GB, free: 4.559 MB / 0.6075 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.0001833/0.7173, allocations: 208.2 kB / 0.8502 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.7175, allocations: 102.7 kB / 0.8503 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.7191, allocations: 0.8128 MB / 0.8511 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7191, allocations: 4 kB / 0.8511 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7191, allocations: 0 / 0.8511 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7191, allocations: 0 / 0.8511 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.7221, allocations: 1.955 MB / 0.853 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7221, allocations: 4 kB / 0.853 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.7227, allocations: 103.9 kB / 0.8531 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.7227, allocations: 8 kB / 0.8531 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.7227, allocations: 12.56 kB / 0.8532 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.7228, allocations: 11.88 kB / 0.8532 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7228, allocations: 4.281 kB / 0.8532 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.7248, allocations: 1.234 MB / 0.8544 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.7253, allocations: 292.8 kB / 0.8547 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.7255, allocations: 15.98 kB / 0.8547 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/0.7264, allocations: 59.86 kB / 0.8547 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.7266, allocations: 51.95 kB / 0.8548 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.7266, allocations: 16 kB / 0.8548 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00138/0.728, allocations: 0.9208 MB / 0.8557 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.728, allocations: 0 / 0.8557 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001123/0.7291, allocations: 411.4 kB / 0.8561 GB, free: 14.2 MB / 0.6231 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.002808/0.732, allocations: 1.889 MB / 0.8579 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.7341, allocations: 0.9433 MB / 0.8588 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7342, allocations: 0 / 0.8588 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.7348, allocations: 343.5 kB / 0.8592 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.7368, allocations: 426.9 kB / 0.8596 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.7511, allocations: 8.501 MB / 0.8679 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.7518, allocations: 1.041 MB / 0.8689 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001036/0.7529, allocations: 299 kB / 0.8692 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.7535, allocations: 387.3 kB / 0.8696 GB, free: 152 kB / 0.6231 GB Notification: Performance of SimCode: time 7.81e-07/0.7535, allocations: 0 / 0.8696 GB, free: 152 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05983/0.8134, allocations: 30.74 MB / 0.8996 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.445/10.26, allocations: 14.2 kB / 0.8996 GB, free: 1.75 MB / 0.6544 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)