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.001121/0.001121, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001156/0.001156, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.348/1.348, 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.7546/0.7546, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.53 kB / 0.5679 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1499, allocations: 77.93 MB / 0.644 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5957/0.7456, allocations: 189.7 MB / 0.8293 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007391/0.7531, allocations: 4.281 MB / 0.8334 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.7541, allocations: 32.69 kB / 0.8335 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.7555, allocations: 0.5187 MB / 0.834 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.7591, allocations: 1.626 MB / 0.8356 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.7623, allocations: 1.35 MB / 0.8369 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002548/0.7649, allocations: 2.271 MB / 0.8391 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.7662, allocations: 1.081 MB / 0.8402 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.7676, allocations: 0.971 MB / 0.8411 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.7688, allocations: 0.8699 MB / 0.842 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.769, allocations: 140.6 kB / 0.8421 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.7712, allocations: 1.253 MB / 0.8433 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.7716, allocations: 427.9 kB / 0.8437 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006747/0.7723, allocations: 0.6438 MB / 0.8444 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.7751, allocations: 1.977 MB / 0.8463 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7751, allocations: 0 / 0.8463 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7751, allocations: 0 / 0.8463 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.7752, allocations: 0 / 0.8463 GB, free: 10.61 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.004447/0.7796, allocations: 1.767 MB / 0.848 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.7797, allocations: 13.91 kB / 0.848 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.7798, allocations: 89.98 kB / 0.8481 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009136/0.7807, allocations: 196.4 kB / 0.8483 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.7828, allocations: 1.071 MB / 0.8493 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.7829, allocations: 42.66 kB / 0.8494 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.783, allocations: 61.94 kB / 0.8494 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.7844, allocations: 0.6182 MB / 0.85 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.7844, allocations: 0 / 0.85 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.7845, allocations: 21.25 kB / 0.8501 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.7845, allocations: 15.94 kB / 0.8501 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.7858, allocations: 0.6345 MB / 0.8507 GB, free: 7.57 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.004382/0.7902, allocations: 2.655 MB / 0.8533 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.7915, allocations: 0.5447 MB / 0.8538 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000653/0.7921, allocations: 354.8 kB / 0.8542 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/0.7926, allocations: 291.2 kB / 0.8544 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.7926, allocations: 42.55 kB / 0.8545 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000695/0.7933, allocations: 147.6 kB / 0.8546 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.235e-06/0.7934, allocations: 0 / 0.8546 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002374/0.7957, allocations: 1.017 MB / 0.8556 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.7958, allocations: 59.39 kB / 0.8557 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.7977, allocations: 1.275 MB / 0.8569 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.7978, allocations: 41.7 kB / 0.857 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.7981, allocations: 434 kB / 0.8574 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.7983, allocations: 162.6 kB / 0.8575 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.7985, allocations: 114 kB / 0.8576 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7986, allocations: 322 kB / 0.8579 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.7992, allocations: 278.1 kB / 0.8582 GB, free: 340 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.8, allocations: 481.2 kB / 0.8587 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.8012, allocations: 0.5878 MB / 0.8592 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8012, allocations: 0 / 0.8592 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001545/0.8028, allocations: 0.75 MB / 0.86 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.8028, allocations: 5.562 kB / 0.86 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.8028, allocations: 4 kB / 0.86 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8028, allocations: 3.938 kB / 0.86 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.8036, allocations: 123.8 kB / 0.8601 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8036, allocations: 0 / 0.8601 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.8048, allocations: 92.75 kB / 0.8602 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.8049, allocations: 27.97 kB / 0.8602 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008183/0.8057, allocations: 467.9 kB / 0.8607 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000752/0.8065, allocations: 485.2 kB / 0.8611 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001165/0.8076, allocations: 0.5908 MB / 0.8617 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.8076, allocations: 0 / 0.8617 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001505/0.8092, allocations: 0.7466 MB / 0.8624 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8092, allocations: 4 kB / 0.8624 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.8092, allocations: 1.562 kB / 0.8624 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.8092, allocations: 4 kB / 0.8624 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.8098, allocations: 119.8 kB / 0.8626 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8098, allocations: 4 kB / 0.8626 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.8112, allocations: 121.4 kB / 0.8627 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.8113, allocations: 23.97 kB / 0.8627 GB, free: 11.55 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.0001909/0.8115, allocations: 204.2 kB / 0.8629 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.8117, allocations: 119.2 kB / 0.863 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.8133, allocations: 0.8032 MB / 0.8638 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.8134, allocations: 4 kB / 0.8638 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8134, allocations: 0 / 0.8638 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8134, allocations: 0 / 0.8638 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.8165, allocations: 1.965 MB / 0.8657 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8165, allocations: 4 kB / 0.8657 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.8171, allocations: 115.8 kB / 0.8658 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8171, allocations: 4 kB / 0.8658 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.8172, allocations: 8 kB / 0.8658 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.8172, allocations: 11.94 kB / 0.8659 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8172, allocations: 288 / 0.8659 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.8194, allocations: 1.241 MB / 0.8671 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.8198, allocations: 292.3 kB / 0.8673 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.82, allocations: 16 kB / 0.8674 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/0.821, allocations: 59.86 kB / 0.8674 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.8211, allocations: 51.89 kB / 0.8675 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.8211, allocations: 16 kB / 0.8675 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001396/0.8225, allocations: 0.9247 MB / 0.8684 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8225, allocations: 0 / 0.8684 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001137/0.8237, allocations: 407.5 kB / 0.8688 GB, free: 5.176 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.002768/0.8265, allocations: 1.898 MB / 0.8706 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.8285, allocations: 0.9433 MB / 0.8716 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8285, allocations: 8 kB / 0.8716 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.8292, allocations: 327.6 kB / 0.8719 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.8311, allocations: 429.4 kB / 0.8723 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.8441, allocations: 8.532 MB / 0.8806 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.8447, allocations: 1.045 MB / 0.8816 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00106/0.8458, allocations: 291 kB / 0.8819 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/0.8465, allocations: 399.2 kB / 0.8823 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of SimCode: time 1.693e-06/0.8465, allocations: 0 / 0.8823 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.062/0.9085, allocations: 30.16 MB / 0.9117 GB, free: 9.25 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.603/10.51, allocations: 7.922 kB / 0.9118 GB, free: 9.242 MB / 0.67 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox_res.csv --start-time 0 --stop-time 240 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.096 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)