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.001835/0.001835, allocations: 105.3 kB / 16.4 MB, free: 6.461 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.001964/0.001965, allocations: 196 kB / 17.34 MB, free: 5.715 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.836/0.836, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 64.53 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.167, allocations: 78.86 MB / 0.6505 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6117/0.7788, allocations: 189.6 MB / 0.8357 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007967/0.7868, allocations: 4.194 MB / 0.8398 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7885, allocations: 29.56 kB / 0.8398 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.79, allocations: 0.4934 MB / 0.8403 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004529/0.7946, allocations: 1.549 MB / 0.8418 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.7986, allocations: 1.327 MB / 0.8431 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003905/0.8025, allocations: 2.208 MB / 0.8453 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.8044, allocations: 1.067 MB / 0.8463 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.8072, allocations: 1.152 MB / 0.8474 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.8086, allocations: 0.8371 MB / 0.8482 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.8089, allocations: 136 kB / 0.8484 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.8112, allocations: 1.227 MB / 0.8496 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.8117, allocations: 414.1 kB / 0.85 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007513/0.8124, allocations: 0.6262 MB / 0.8506 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.8153, allocations: 1.918 MB / 0.8524 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8153, allocations: 6.094 kB / 0.8524 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8153, allocations: 3.938 kB / 0.8525 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.8153, allocations: 0 / 0.8525 GB, free: 3.176 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004116/0.8194, allocations: 1.716 MB / 0.8541 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.8195, allocations: 9.938 kB / 0.8541 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.8196, allocations: 91.89 kB / 0.8542 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.8204, allocations: 189.4 kB / 0.8544 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.8223, allocations: 1.063 MB / 0.8554 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.8224, allocations: 39.22 kB / 0.8555 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.8225, allocations: 56.31 kB / 0.8555 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.8237, allocations: 0.6064 MB / 0.8561 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.8237, allocations: 0 / 0.8561 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.8238, allocations: 20.66 kB / 0.8561 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.8238, allocations: 10.19 kB / 0.8562 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.8252, allocations: 0.6165 MB / 0.8568 GB, free: 15.9 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.004281/0.8295, allocations: 2.615 MB / 0.8593 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.8309, allocations: 0.546 MB / 0.8598 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.8316, allocations: 349.8 kB / 0.8602 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.832, allocations: 295.3 kB / 0.8605 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.8321, allocations: 34.56 kB / 0.8605 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006891/0.8328, allocations: 139.6 kB / 0.8606 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/0.8328, allocations: 0 / 0.8606 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.00262/0.8354, allocations: 1.019 MB / 0.8616 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.8355, allocations: 59.19 kB / 0.8617 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.8376, allocations: 1.237 MB / 0.8629 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-05/0.8377, allocations: 33.7 kB / 0.8629 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.8381, allocations: 429.8 kB / 0.8633 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.8382, allocations: 150.6 kB / 0.8635 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.8385, allocations: 113.6 kB / 0.8636 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8386, allocations: 326 kB / 0.8639 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.8393, allocations: 268.7 kB / 0.8641 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008773/0.8402, allocations: 474.6 kB / 0.8646 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.8415, allocations: 0.5827 MB / 0.8652 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.8415, allocations: 3.938 kB / 0.8652 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001846/0.8434, allocations: 0.7343 MB / 0.8659 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8434, allocations: 11.98 kB / 0.8659 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8434, allocations: 0 / 0.8659 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8435, allocations: 4 kB / 0.8659 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.8441, allocations: 111.6 kB / 0.866 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.8441, allocations: 4 kB / 0.866 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.8454, allocations: 92.89 kB / 0.8661 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.8455, allocations: 23.97 kB / 0.8661 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009584/0.8465, allocations: 455.9 kB / 0.8666 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008805/0.8474, allocations: 481.8 kB / 0.867 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001321/0.8487, allocations: 0.5759 MB / 0.8676 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.8487, allocations: 3.938 kB / 0.8676 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001893/0.8506, allocations: 0.7247 MB / 0.8683 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8507, allocations: 7.984 kB / 0.8683 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.8507, allocations: 4 kB / 0.8683 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.8507, allocations: 0 / 0.8683 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.8513, allocations: 107.8 kB / 0.8684 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8513, allocations: 4 kB / 0.8684 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.8529, allocations: 128.3 kB / 0.8685 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/0.853, allocations: 23.97 kB / 0.8686 GB, free: 3.348 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 (42): * Single equations (assignments): 42 * 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.0002583/0.8532, allocations: 212.1 kB / 0.8688 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.8535, allocations: 99.34 kB / 0.8689 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.8555, allocations: 0.8026 MB / 0.8696 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.8555, allocations: 4 kB / 0.8696 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8555, allocations: 3.938 kB / 0.8696 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.8555, allocations: 0 / 0.8696 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.859, allocations: 1.917 MB / 0.8715 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.859, allocations: 4 kB / 0.8715 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.8596, allocations: 116.1 kB / 0.8716 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.8596, allocations: 4 kB / 0.8716 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.8597, allocations: 15.92 kB / 0.8717 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.8597, allocations: 4 kB / 0.8717 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8597, allocations: 7.938 kB / 0.8717 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.8622, allocations: 1.236 MB / 0.8729 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.8627, allocations: 280.3 kB / 0.8731 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.8629, allocations: 20 kB / 0.8732 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/0.8638, allocations: 63.91 kB / 0.8732 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.864, allocations: 43.89 kB / 0.8733 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.864, allocations: 20.55 kB / 0.8733 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00148/0.8655, allocations: 0.8922 MB / 0.8742 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8655, allocations: 0 / 0.8742 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001205/0.8667, allocations: 395.5 kB / 0.8745 GB, free: 13.06 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.003204/0.8699, allocations: 1.888 MB / 0.8764 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.8722, allocations: 0.951 MB / 0.8773 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8723, allocations: 0 / 0.8773 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.873, allocations: 332.7 kB / 0.8776 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.8754, allocations: 432.3 kB / 0.878 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.8909, allocations: 8.303 MB / 0.8861 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007749/0.8917, allocations: 1.029 MB / 0.8871 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001347/0.893, allocations: 274.9 kB / 0.8874 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/0.8938, allocations: 391.2 kB / 0.8878 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of SimCode: time 6.62e-07/0.8938, allocations: 0 / 0.8878 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06796/0.9618, allocations: 29.65 MB / 0.9167 GB, free: 1.93 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.851/10.81, allocations: 9.953 kB / 0.9167 GB, free: 1.922 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)