Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_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.007522/0.007523, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001861/0.001862, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9514/0.9514, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3984, allocations: 80.92 MB / 0.6642 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2059/0.6043, allocations: 189.7 MB / 0.8494 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007216/0.6116, allocations: 4.278 MB / 0.8536 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.6129, allocations: 31.75 kB / 0.8536 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.6144, allocations: 0.5084 MB / 0.8541 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.6181, allocations: 1.63 MB / 0.8557 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.6216, allocations: 1.355 MB / 0.857 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.6245, allocations: 2.272 MB / 0.8592 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.6264, allocations: 1.082 MB / 0.8603 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.6285, allocations: 0.9693 MB / 0.8612 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.6301, allocations: 0.8755 MB / 0.8621 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.6305, allocations: 140 kB / 0.8622 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.6332, allocations: 1.251 MB / 0.8634 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007168/0.6339, allocations: 422.7 kB / 0.8639 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.6353, allocations: 0.6453 MB / 0.8645 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.6387, allocations: 1.993 MB / 0.8664 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6388, allocations: 0 / 0.8664 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6388, allocations: 0 / 0.8664 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.716e-05/0.6388, allocations: 0 / 0.8664 GB, free: 1.738 MB / 0.6856 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.3372/0.976, allocations: 1.757 MB / 0.8681 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.9761, allocations: 13.16 kB / 0.8682 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.9763, allocations: 88.73 kB / 0.8682 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.9775, allocations: 192.9 kB / 0.8684 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.9799, allocations: 1.08 MB / 0.8695 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.9799, allocations: 42.12 kB / 0.8695 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.9801, allocations: 61.62 kB / 0.8696 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.9816, allocations: 0.608 MB / 0.8702 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.9816, allocations: 4.719 kB / 0.8702 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.9817, allocations: 27.89 kB / 0.8702 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.9817, allocations: 21.72 kB / 0.8702 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.9833, allocations: 0.6205 MB / 0.8708 GB, free: 193.7 MB / 0.6856 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.005193/0.9885, allocations: 2.661 MB / 0.8734 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.9898, allocations: 0.5384 MB / 0.874 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.9904, allocations: 350.7 kB / 0.8743 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.9908, allocations: 291.8 kB / 0.8746 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.9908, allocations: 37.03 kB / 0.8746 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007204/0.9915, allocations: 143.3 kB / 0.8747 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/0.9916, allocations: 0 / 0.8747 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.002471/0.994, allocations: 1.021 MB / 0.8757 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.9941, allocations: 59.81 kB / 0.8758 GB, free: 191 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.9961, allocations: 1.277 MB / 0.877 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.9962, allocations: 39.33 kB / 0.8771 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.9965, allocations: 439 kB / 0.8775 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.9966, allocations: 156.7 kB / 0.8776 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.9968, allocations: 114.5 kB / 0.8778 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.9969, allocations: 322.2 kB / 0.8781 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.9975, allocations: 271.4 kB / 0.8783 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/0.9984, allocations: 477.8 kB / 0.8788 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.9998, allocations: 0.5975 MB / 0.8794 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9998, allocations: 0 / 0.8794 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001696/1.001, allocations: 0.7443 MB / 0.8801 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.002, allocations: 9.562 kB / 0.8801 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.002, allocations: 3.938 kB / 0.8801 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.002, allocations: 2.312 kB / 0.8801 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/1.002, allocations: 118.7 kB / 0.8802 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.002, allocations: 1.438 kB / 0.8802 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.004, allocations: 97.58 kB / 0.8803 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/1.004, allocations: 25.41 kB / 0.8803 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007943/1.004, allocations: 474.6 kB / 0.8808 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006767/1.005, allocations: 487.4 kB / 0.8813 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001076/1.006, allocations: 0.583 MB / 0.8818 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/1.006, allocations: 0 / 0.8818 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001629/1.008, allocations: 0.7394 MB / 0.8825 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/1.008, allocations: 5.156 kB / 0.8825 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.008, allocations: 6.672 kB / 0.8826 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/1.008, allocations: 2.219 kB / 0.8826 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/1.009, allocations: 121.9 kB / 0.8827 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.009, allocations: 9.453 kB / 0.8827 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.01, allocations: 121.9 kB / 0.8828 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/1.01, allocations: 22.67 kB / 0.8828 GB, free: 186.7 MB / 0.6856 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.0001823/1.01, allocations: 208.9 kB / 0.883 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/1.01, allocations: 108.7 kB / 0.8831 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/1.012, allocations: 0.804 MB / 0.8839 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.012, allocations: 4.875 kB / 0.8839 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.012, allocations: 1.125 kB / 0.8839 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/1.012, allocations: 3.984 kB / 0.8839 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/1.015, allocations: 1.956 MB / 0.8858 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.015, allocations: 2.719 kB / 0.8858 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/1.016, allocations: 107.3 kB / 0.8859 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.016, allocations: 7.906 kB / 0.8859 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/1.016, allocations: 20.02 kB / 0.886 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.016, allocations: 4 kB / 0.886 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.016, allocations: 6.656 kB / 0.886 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/1.018, allocations: 1.247 MB / 0.8872 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/1.018, allocations: 295.5 kB / 0.8875 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/1.018, allocations: 17.42 kB / 0.8875 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009969/1.019, allocations: 57.39 kB / 0.8875 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.02, allocations: 46.27 kB / 0.8876 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/1.02, allocations: 22.11 kB / 0.8876 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001339/1.021, allocations: 0.9236 MB / 0.8885 GB, free: 183 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.021, allocations: 0 / 0.8885 GB, free: 183 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001205/1.022, allocations: 405.1 kB / 0.8889 GB, free: 183 MB / 0.6856 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.002472/1.025, allocations: 1.905 MB / 0.8908 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001987/1.027, allocations: 0.9352 MB / 0.8917 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.027, allocations: 1.156 kB / 0.8917 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/1.027, allocations: 338.8 kB / 0.892 GB, free: 181 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.029, allocations: 433.8 kB / 0.8924 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.043, allocations: 8.524 MB / 0.9007 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/1.043, allocations: 1.04 MB / 0.9017 GB, free: 175 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001238/1.044, allocations: 300.2 kB / 0.902 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/1.045, allocations: 390.1 kB / 0.9024 GB, free: 174.5 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/1.045, allocations: 3.938 kB / 0.9024 GB, free: 174.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/1.099, allocations: 30.16 MB / 0.9319 GB, free: 146.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.538/10.64, allocations: 7.812 kB / 0.9319 GB, free: 146.8 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)