Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 61.38 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3547, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2008/0.5555, allocations: 189.7 MB / 0.7654 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007686/0.5633, allocations: 4.291 MB / 0.7696 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.5644, allocations: 31.81 kB / 0.7696 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.5658, allocations: 0.5006 MB / 0.7701 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.5696, allocations: 1.562 MB / 0.7716 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.5729, allocations: 1.33 MB / 0.7729 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002797/0.5757, allocations: 2.256 MB / 0.7752 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.5773, allocations: 1.081 MB / 0.7762 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.5789, allocations: 0.9498 MB / 0.7771 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.5799, allocations: 0.8639 MB / 0.778 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.5801, allocations: 140 kB / 0.7781 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.5825, allocations: 1.243 MB / 0.7793 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.5829, allocations: 422.7 kB / 0.7797 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006152/0.5835, allocations: 0.6492 MB / 0.7804 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.5857, allocations: 1.959 MB / 0.7823 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5857, allocations: 0 / 0.7823 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5857, allocations: 0 / 0.7823 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.5857, allocations: 0 / 0.7823 GB, free: 1.895 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.004054/0.5898, allocations: 1.728 MB / 0.784 GB, free: 112 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5898, allocations: 12.03 kB / 0.784 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.5899, allocations: 90.52 kB / 0.7841 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008136/0.5907, allocations: 178.7 kB / 0.7842 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.5924, allocations: 1.041 MB / 0.7852 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.5925, allocations: 52.98 kB / 0.7853 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5926, allocations: 56 kB / 0.7854 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.5938, allocations: 0.6115 MB / 0.7859 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5939, allocations: 0 / 0.7859 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.5939, allocations: 20 kB / 0.786 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.594, allocations: 24.94 kB / 0.786 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.5953, allocations: 0.6245 MB / 0.7866 GB, free: 13.34 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.003903/0.5992, allocations: 2.669 MB / 0.7892 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.6003, allocations: 0.5374 MB / 0.7897 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.601, allocations: 349.3 kB / 0.7901 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/0.6013, allocations: 291.2 kB / 0.7903 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6014, allocations: 42.52 kB / 0.7904 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000593/0.602, allocations: 143.5 kB / 0.7905 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.602, allocations: 4 kB / 0.7905 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002311/0.6043, allocations: 1.012 MB / 0.7915 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.6044, allocations: 55.41 kB / 0.7916 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.6062, allocations: 1.275 MB / 0.7928 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.6063, allocations: 37.7 kB / 0.7928 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.6067, allocations: 441.7 kB / 0.7933 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.6068, allocations: 145.8 kB / 0.7934 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.607, allocations: 121.9 kB / 0.7935 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6072, allocations: 329.8 kB / 0.7938 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.6077, allocations: 270.2 kB / 0.7941 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007815/0.6085, allocations: 491.8 kB / 0.7946 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.6097, allocations: 0.591 MB / 0.7951 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6098, allocations: 0 / 0.7951 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001532/0.6113, allocations: 0.7337 MB / 0.7959 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6113, allocations: 4 kB / 0.7959 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6113, allocations: 4 kB / 0.7959 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6113, allocations: 4 kB / 0.7959 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.612, allocations: 123.8 kB / 0.796 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.612, allocations: 0 / 0.796 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6132, allocations: 93.73 kB / 0.7961 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.6133, allocations: 23.97 kB / 0.7961 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008104/0.6141, allocations: 471.8 kB / 0.7966 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007589/0.6148, allocations: 482.2 kB / 0.797 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001162/0.616, allocations: 0.5887 MB / 0.7976 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.616, allocations: 0 / 0.7976 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001489/0.6175, allocations: 0.7266 MB / 0.7983 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.6175, allocations: 8 kB / 0.7983 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-06/0.6176, allocations: 7.938 kB / 0.7983 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.6176, allocations: 0 / 0.7983 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.6182, allocations: 115.8 kB / 0.7984 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.6182, allocations: 0 / 0.7984 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.6195, allocations: 132.2 kB / 0.7985 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.6196, allocations: 23.98 kB / 0.7986 GB, free: 0.6172 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.0001713/0.6197, allocations: 212.1 kB / 0.7988 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.6199, allocations: 106.7 kB / 0.7989 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.6217, allocations: 0.7954 MB / 0.7997 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.6217, allocations: 8 kB / 0.7997 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6217, allocations: 0 / 0.7997 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6217, allocations: 3.984 kB / 0.7997 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.6247, allocations: 1.958 MB / 0.8016 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6247, allocations: 0 / 0.8016 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.6253, allocations: 111.8 kB / 0.8017 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.6253, allocations: 4 kB / 0.8017 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.6254, allocations: 23.94 kB / 0.8017 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.6254, allocations: 7.984 kB / 0.8017 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6254, allocations: 4.281 kB / 0.8017 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.6275, allocations: 1.229 MB / 0.8029 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/0.6279, allocations: 287.7 kB / 0.8032 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.628, allocations: 16 kB / 0.8032 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.629, allocations: 63.91 kB / 0.8033 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.6291, allocations: 39.95 kB / 0.8033 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.6292, allocations: 27.88 kB / 0.8033 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001339/0.6305, allocations: 0.9208 MB / 0.8042 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6305, allocations: 0 / 0.8042 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009901/0.6315, allocations: 407.4 kB / 0.8046 GB, free: 10.25 MB / 0.6387 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.002645/0.6342, allocations: 1.895 MB / 0.8065 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.6362, allocations: 0.9945 MB / 0.8074 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6362, allocations: 4 kB / 0.8074 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.6369, allocations: 335.6 kB / 0.8078 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.6388, allocations: 438.8 kB / 0.8082 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2221/0.8609, allocations: 8.925 MB / 0.8169 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.8614, allocations: 1.046 MB / 0.8179 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001182/0.8626, allocations: 288.1 kB / 0.8182 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.8632, allocations: 386.1 kB / 0.8186 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.8632, allocations: 0 / 0.8186 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04903/0.9122, allocations: 29.89 MB / 0.8478 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/8.555, allocations: 12.05 kB / 0.8478 GB, free: 203.6 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)