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.001887/0.001888, allocations: 103.7 kB / 16.27 MB, free: 5.926 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.001671/0.001671, allocations: 187.8 kB / 17.19 MB, free: 5.57 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7345/0.7345, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2964, allocations: 77.93 MB / 0.5673 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4484/0.7449, allocations: 189.6 MB / 0.7525 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006015/0.751, allocations: 4.281 MB / 0.7567 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007971/0.7518, allocations: 29.62 kB / 0.7567 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.7529, allocations: 0.4931 MB / 0.7572 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.7561, allocations: 1.575 MB / 0.7587 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.759, allocations: 1.326 MB / 0.76 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002945/0.762, allocations: 2.246 MB / 0.7622 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.7636, allocations: 1.083 MB / 0.7633 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.7652, allocations: 0.9487 MB / 0.7642 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.7662, allocations: 0.8699 MB / 0.765 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.7665, allocations: 140 kB / 0.7652 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.7688, allocations: 1.239 MB / 0.7664 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.7692, allocations: 424.9 kB / 0.7668 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006577/0.7698, allocations: 0.6473 MB / 0.7674 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.7718, allocations: 1.951 MB / 0.7693 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7718, allocations: 0.625 kB / 0.7693 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7719, allocations: 0.9688 kB / 0.7693 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.7719, allocations: 0.5938 kB / 0.7693 GB, free: 1.461 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.00387/0.7757, allocations: 1.728 MB / 0.771 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.7758, allocations: 9.344 kB / 0.771 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.7759, allocations: 89 kB / 0.7711 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.7767, allocations: 188.8 kB / 0.7713 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.7782, allocations: 1.04 MB / 0.7723 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.7784, allocations: 48.45 kB / 0.7723 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.7785, allocations: 58.69 kB / 0.7724 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.7796, allocations: 0.6208 MB / 0.773 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7796, allocations: 0.9062 kB / 0.773 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.7797, allocations: 23.55 kB / 0.773 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.7797, allocations: 18.47 kB / 0.7731 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.781, allocations: 0.6214 MB / 0.7737 GB, free: 16.13 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.003578/0.7846, allocations: 2.675 MB / 0.7763 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009843/0.7856, allocations: 0.5354 MB / 0.7768 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.7862, allocations: 344.5 kB / 0.7771 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.7865, allocations: 297.2 kB / 0.7774 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.7866, allocations: 36.41 kB / 0.7774 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005769/0.7871, allocations: 140.4 kB / 0.7776 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.7871, allocations: 0 / 0.7776 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002035/0.7892, allocations: 1.023 MB / 0.7786 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.7892, allocations: 55.44 kB / 0.7786 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.7909, allocations: 1.271 MB / 0.7799 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.791, allocations: 39.42 kB / 0.7799 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.7912, allocations: 432.5 kB / 0.7803 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.7913, allocations: 152.5 kB / 0.7805 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.7915, allocations: 122.3 kB / 0.7806 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7917, allocations: 322.5 kB / 0.7809 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.7922, allocations: 274.2 kB / 0.7811 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.7928, allocations: 485.8 kB / 0.7816 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7939, allocations: 0.5853 MB / 0.7822 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7939, allocations: 0 / 0.7822 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001354/0.7953, allocations: 0.7357 MB / 0.7829 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7953, allocations: 6.312 kB / 0.7829 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7953, allocations: 1.031 kB / 0.7829 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.7953, allocations: 7.234 kB / 0.7829 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.7959, allocations: 118.1 kB / 0.783 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.796, allocations: 3.875 kB / 0.783 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.7971, allocations: 102.5 kB / 0.7831 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.7972, allocations: 25.16 kB / 0.7832 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006995/0.7979, allocations: 468.1 kB / 0.7836 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006653/0.7985, allocations: 487.8 kB / 0.7841 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001023/0.7996, allocations: 0.5886 MB / 0.7846 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.7996, allocations: 0 / 0.7846 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001317/0.8009, allocations: 0.734 MB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.8009, allocations: 3.188 kB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.8009, allocations: 2.375 kB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.8009, allocations: 3.469 kB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.8015, allocations: 120.7 kB / 0.7855 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.8015, allocations: 7.391 kB / 0.7855 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.8028, allocations: 120.9 kB / 0.7856 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.8029, allocations: 28.38 kB / 0.7856 GB, free: 13.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.8031, allocations: 209.5 kB / 0.7858 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.8032, allocations: 106.8 kB / 0.7859 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.8048, allocations: 0.8018 MB / 0.7867 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8048, allocations: 6.531 kB / 0.7867 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8048, allocations: 0.9688 kB / 0.7867 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8048, allocations: 6.984 kB / 0.7867 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.8075, allocations: 1.954 MB / 0.7886 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8075, allocations: 0 / 0.7886 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.808, allocations: 112.1 kB / 0.7887 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.8081, allocations: 2.312 kB / 0.7887 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.8081, allocations: 17.77 kB / 0.7888 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8081, allocations: 3.656 kB / 0.7888 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8081, allocations: 5.875 kB / 0.7888 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.81, allocations: 1.231 MB / 0.79 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.8104, allocations: 295.6 kB / 0.7903 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.8106, allocations: 17.41 kB / 0.7903 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/0.8115, allocations: 60.2 kB / 0.7903 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.8117, allocations: 42.23 kB / 0.7904 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.8117, allocations: 20.44 kB / 0.7904 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001212/0.8129, allocations: 0.9246 MB / 0.7913 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.01e-07/0.8129, allocations: 0 / 0.7913 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001032/0.814, allocations: 404.8 kB / 0.7917 GB, free: 12.07 MB / 0.5919 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.002618/0.8166, allocations: 1.889 MB / 0.7935 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.8185, allocations: 1 MB / 0.7945 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8185, allocations: 0.9688 kB / 0.7945 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.8191, allocations: 340.4 kB / 0.7948 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.821, allocations: 441.7 kB / 0.7952 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.8327, allocations: 8.937 MB / 0.804 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.8332, allocations: 1.047 MB / 0.805 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001136/0.8344, allocations: 293.9 kB / 0.8053 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/0.8349, allocations: 389.2 kB / 0.8056 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.8349, allocations: 0 / 0.8056 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/0.8866, allocations: 29.92 MB / 0.8349 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/8.579, allocations: 11.98 kB / 0.8349 GB, free: 15.56 MB / 0.6231 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)