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.001227/0.001231, 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.0009837/0.0009838, allocations: 193.5 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7348/0.7348, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 72.75 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 80.19 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1855/0.5359, allocations: 189.7 MB / 0.7654 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006901/0.5428, allocations: 4.275 MB / 0.7696 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/0.5438, allocations: 27.81 kB / 0.7696 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.5448, allocations: 0.5006 MB / 0.7701 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.5479, allocations: 1.567 MB / 0.7717 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.5506, allocations: 1.318 MB / 0.7729 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.5527, allocations: 2.268 MB / 0.7752 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.5538, allocations: 1.077 MB / 0.7762 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.5549, allocations: 0.9499 MB / 0.7771 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.5558, allocations: 0.8639 MB / 0.778 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.556, allocations: 140 kB / 0.7781 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.558, allocations: 1.239 MB / 0.7793 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.5583, allocations: 426.7 kB / 0.7797 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.5589, allocations: 0.6492 MB / 0.7804 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.5608, allocations: 1.959 MB / 0.7823 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5609, allocations: 0 / 0.7823 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5609, allocations: 4 kB / 0.7823 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.5609, allocations: 0 / 0.7823 GB, free: 1.906 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.003804/0.5647, allocations: 1.72 MB / 0.784 GB, free: 132 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5647, allocations: 12.03 kB / 0.784 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.5648, allocations: 90.52 kB / 0.7841 GB, free: 20 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008144/0.5657, allocations: 178.5 kB / 0.7842 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.5672, allocations: 1.045 MB / 0.7853 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.5674, allocations: 56.97 kB / 0.7853 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.5675, allocations: 56 kB / 0.7854 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.5686, allocations: 0.6115 MB / 0.786 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5686, allocations: 0 / 0.786 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.5687, allocations: 23.94 kB / 0.786 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.5687, allocations: 17 kB / 0.786 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.57, allocations: 0.6284 MB / 0.7866 GB, free: 13.35 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.003648/0.5737, allocations: 2.661 MB / 0.7892 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5748, allocations: 0.5412 MB / 0.7897 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.5754, allocations: 353.3 kB / 0.7901 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.5758, allocations: 287.3 kB / 0.7903 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.5758, allocations: 50.45 kB / 0.7904 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005781/0.5764, allocations: 143.5 kB / 0.7905 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.5764, allocations: 0 / 0.7905 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002237/0.5787, allocations: 1.016 MB / 0.7915 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.5787, allocations: 55.41 kB / 0.7916 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.5805, allocations: 1.275 MB / 0.7928 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.5805, allocations: 37.7 kB / 0.7929 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.5809, allocations: 433.7 kB / 0.7933 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.581, allocations: 141.8 kB / 0.7934 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.5812, allocations: 125.9 kB / 0.7935 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.5813, allocations: 321.9 kB / 0.7938 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.5819, allocations: 278.1 kB / 0.7941 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/0.5826, allocations: 491.8 kB / 0.7946 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.5837, allocations: 0.5794 MB / 0.7951 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5838, allocations: 0 / 0.7951 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001453/0.5852, allocations: 0.7415 MB / 0.7959 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5852, allocations: 4 kB / 0.7959 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5852, allocations: 0 / 0.7959 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5853, allocations: 4 kB / 0.7959 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.5859, allocations: 123.8 kB / 0.796 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5859, allocations: 0 / 0.796 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.587, allocations: 91.88 kB / 0.7961 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.5871, allocations: 23.97 kB / 0.7961 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007723/0.5879, allocations: 475.8 kB / 0.7965 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007382/0.5886, allocations: 485.9 kB / 0.797 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/0.5898, allocations: 0.5845 MB / 0.7976 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.5898, allocations: 0 / 0.7976 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001445/0.5912, allocations: 0.7305 MB / 0.7983 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.5912, allocations: 7.938 kB / 0.7983 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.5912, allocations: 4 kB / 0.7983 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-06/0.5912, allocations: 0 / 0.7983 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.5919, allocations: 123.8 kB / 0.7984 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.5919, allocations: 0 / 0.7984 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.5931, allocations: 128.2 kB / 0.7985 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.5932, allocations: 27.97 kB / 0.7986 GB, free: 0.6328 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.0001724/0.5934, allocations: 212.1 kB / 0.7988 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.5935, allocations: 106.7 kB / 0.7989 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.5952, allocations: 0.7993 MB / 0.7997 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5952, allocations: 8 kB / 0.7997 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5952, allocations: 0 / 0.7997 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5952, allocations: 0 / 0.7997 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.5983, allocations: 1.966 MB / 0.8016 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5984, allocations: 0 / 0.8016 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.599, allocations: 107.8 kB / 0.8017 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.599, allocations: 4 kB / 0.8017 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.599, allocations: 20.27 kB / 0.8017 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.5991, allocations: 8 kB / 0.8017 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5991, allocations: 4 kB / 0.8017 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.6012, allocations: 1.229 MB / 0.8029 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/0.6017, allocations: 283.7 kB / 0.8032 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.6019, allocations: 19.98 kB / 0.8032 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009929/0.6029, allocations: 63.98 kB / 0.8033 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.603, allocations: 39.83 kB / 0.8033 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.6031, allocations: 27.92 kB / 0.8033 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001437/0.6045, allocations: 0.9208 MB / 0.8042 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.8e-07/0.6045, allocations: 0 / 0.8042 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001161/0.6057, allocations: 407.4 kB / 0.8046 GB, free: 10.27 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.002756/0.6085, allocations: 1.897 MB / 0.8065 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.6107, allocations: 0.9901 MB / 0.8074 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6107, allocations: 0 / 0.8074 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.6113, allocations: 336.1 kB / 0.8078 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.6134, allocations: 432.5 kB / 0.8082 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2303/0.8437, allocations: 8.929 MB / 0.8169 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.8443, allocations: 1.05 MB / 0.8179 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001219/0.8455, allocations: 290.6 kB / 0.8182 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/0.846, allocations: 390.4 kB / 0.8186 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/0.846, allocations: 0 / 0.8186 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3754/1.221, allocations: 29.9 MB / 0.8478 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/9.181, allocations: 7.969 kB / 0.8478 GB, free: 203.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)