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.001068/0.001068, allocations: 108 kB / 15.61 MB, free: 152 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.001101/0.001101, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9967/0.9967, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.08 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4128/0.5588, allocations: 189.7 MB / 0.7697 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006816/0.5656, allocations: 4.267 MB / 0.7739 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007819/0.5664, allocations: 27.81 kB / 0.7739 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.5679, allocations: 0.5006 MB / 0.7744 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.5711, allocations: 1.575 MB / 0.7759 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.5741, allocations: 1.314 MB / 0.7772 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.5767, allocations: 2.262 MB / 0.7794 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.5779, allocations: 1.082 MB / 0.7805 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.5791, allocations: 0.9498 MB / 0.7814 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.5801, allocations: 0.8639 MB / 0.7822 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.5803, allocations: 140 kB / 0.7824 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.5823, allocations: 1.243 MB / 0.7836 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.5826, allocations: 430.7 kB / 0.784 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005731/0.5832, allocations: 0.6416 MB / 0.7846 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.5854, allocations: 1.963 MB / 0.7865 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5854, allocations: 0 / 0.7865 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5854, allocations: 0 / 0.7865 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.5855, allocations: 0 / 0.7865 GB, free: 13.93 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.003963/0.5894, allocations: 1.723 MB / 0.7882 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5895, allocations: 12.03 kB / 0.7882 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.5896, allocations: 90.52 kB / 0.7883 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.5904, allocations: 186.5 kB / 0.7885 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.592, allocations: 1.041 MB / 0.7895 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.5921, allocations: 56.91 kB / 0.7896 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5922, allocations: 60 kB / 0.7896 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.5933, allocations: 0.6076 MB / 0.7902 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5934, allocations: 0 / 0.7902 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.5934, allocations: 31.92 kB / 0.7903 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.5935, allocations: 17 kB / 0.7903 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.5947, allocations: 0.6284 MB / 0.7909 GB, free: 9.363 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.00378/0.5985, allocations: 2.661 MB / 0.7935 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.5996, allocations: 0.5381 MB / 0.794 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.6002, allocations: 347.4 kB / 0.7943 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003747/0.6006, allocations: 299.2 kB / 0.7946 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.6006, allocations: 42.52 kB / 0.7947 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006076/0.6013, allocations: 135.5 kB / 0.7948 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.6013, allocations: 0 / 0.7948 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002255/0.6035, allocations: 1.021 MB / 0.7958 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6036, allocations: 55.41 kB / 0.7958 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.6053, allocations: 1.271 MB / 0.7971 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/0.6054, allocations: 37.7 kB / 0.7971 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.6057, allocations: 433.7 kB / 0.7975 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.6059, allocations: 145.9 kB / 0.7977 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.6061, allocations: 117.9 kB / 0.7978 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.6062, allocations: 321.9 kB / 0.7981 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/0.6068, allocations: 278.1 kB / 0.7984 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.6075, allocations: 485.3 kB / 0.7988 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.6087, allocations: 0.5842 MB / 0.7994 GB, free: 296 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6087, allocations: 3.938 kB / 0.7994 GB, free: 292 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001441/0.6101, allocations: 0.734 MB / 0.8001 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6102, allocations: 4 kB / 0.8001 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6102, allocations: 4 kB / 0.8001 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6102, allocations: 0 / 0.8001 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.6108, allocations: 123.8 kB / 0.8002 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.6108, allocations: 0 / 0.8002 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.612, allocations: 101 kB / 0.8003 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.612, allocations: 27.97 kB / 0.8004 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007589/0.6128, allocations: 467.9 kB / 0.8008 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007039/0.6135, allocations: 483.5 kB / 0.8013 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/0.6146, allocations: 0.5914 MB / 0.8018 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.6146, allocations: 4 kB / 0.8018 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001439/0.6161, allocations: 0.7304 MB / 0.8026 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.6161, allocations: 10.66 kB / 0.8026 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.6161, allocations: 0 / 0.8026 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.6161, allocations: 0 / 0.8026 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.6167, allocations: 123.8 kB / 0.8027 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6168, allocations: 4 kB / 0.8027 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.618, allocations: 118.6 kB / 0.8028 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.618, allocations: 31.97 kB / 0.8028 GB, free: 12.66 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.0001693/0.6182, allocations: 216 kB / 0.803 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.6184, allocations: 102.7 kB / 0.8031 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.6201, allocations: 0.8072 MB / 0.8039 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6201, allocations: 4 kB / 0.8039 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6201, allocations: 0 / 0.8039 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6201, allocations: 0 / 0.8039 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.623, allocations: 1.953 MB / 0.8058 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.623, allocations: 4 kB / 0.8058 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.6235, allocations: 108 kB / 0.8059 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.6235, allocations: 8 kB / 0.806 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.6236, allocations: 19.98 kB / 0.806 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6236, allocations: 4 kB / 0.806 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6236, allocations: 4 kB / 0.806 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.6256, allocations: 1.233 MB / 0.8072 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.626, allocations: 291.5 kB / 0.8075 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.6261, allocations: 15.98 kB / 0.8075 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009347/0.6271, allocations: 64.55 kB / 0.8075 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.6272, allocations: 35.89 kB / 0.8076 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.6272, allocations: 27.97 kB / 0.8076 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001273/0.6285, allocations: 0.9286 MB / 0.8085 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6285, allocations: 0 / 0.8085 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009798/0.6295, allocations: 407.3 kB / 0.8089 GB, free: 6.293 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.002519/0.632, allocations: 1.893 MB / 0.8107 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.634, allocations: 0.9943 MB / 0.8117 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.634, allocations: 0 / 0.8117 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.6347, allocations: 340.1 kB / 0.812 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.6366, allocations: 423.8 kB / 0.8124 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.6492, allocations: 8.945 MB / 0.8212 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.6498, allocations: 1.045 MB / 0.8222 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001168/0.651, allocations: 299 kB / 0.8225 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.6516, allocations: 391.3 kB / 0.8229 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.6516, allocations: 3.938 kB / 0.8229 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.7053, allocations: 29.89 MB / 0.8521 GB, free: 10.08 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.516, allocations: 18.44 kB / 0.8521 GB, free: 10.06 MB / 0.67 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)