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.0009901/0.0009903, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001556/0.001556, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7039/0.7039, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.62 kB / 0.5012 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 80.19 MB / 0.5795 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3921/0.524, allocations: 187.4 MB / 0.7625 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006267/0.5303, allocations: 4.319 MB / 0.7668 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000796/0.5311, allocations: 23.81 kB / 0.7668 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.5321, allocations: 417.7 kB / 0.7672 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.5351, allocations: 1.46 MB / 0.7686 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.5378, allocations: 1.232 MB / 0.7698 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.5403, allocations: 2.788 MB / 0.7725 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.5414, allocations: 0.9226 MB / 0.7734 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.5424, allocations: 0.8365 MB / 0.7743 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000844/0.5433, allocations: 0.8443 MB / 0.7751 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.5434, allocations: 64 kB / 0.7751 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.5455, allocations: 1.376 MB / 0.7765 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.5459, allocations: 346.7 kB / 0.7768 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005569/0.5464, allocations: 0.575 MB / 0.7774 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.5484, allocations: 1.982 MB / 0.7793 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5484, allocations: 4 kB / 0.7793 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5484, allocations: 0 / 0.7793 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.5484, allocations: 0 / 0.7793 GB, free: 6.617 MB / 0.5919 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.003982/0.5524, allocations: 1.734 MB / 0.781 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.5525, allocations: 8.031 kB / 0.781 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.5526, allocations: 86.53 kB / 0.7811 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.5533, allocations: 186.4 kB / 0.7813 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.5548, allocations: 1.045 MB / 0.7823 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.555, allocations: 52.92 kB / 0.7823 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5551, allocations: 59.98 kB / 0.7824 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5562, allocations: 0.6153 MB / 0.783 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5562, allocations: 0 / 0.783 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.5563, allocations: 20 kB / 0.783 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.5563, allocations: 20.98 kB / 0.783 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.5576, allocations: 0.6207 MB / 0.7836 GB, free: 2.059 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.003565/0.5611, allocations: 2.654 MB / 0.7862 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.5622, allocations: 0.5451 MB / 0.7868 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/0.5628, allocations: 350.2 kB / 0.7871 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.5631, allocations: 283.3 kB / 0.7874 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5632, allocations: 42.52 kB / 0.7874 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006675/0.5639, allocations: 163.5 kB / 0.7876 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.5639, allocations: 0 / 0.7876 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002147/0.566, allocations: 1.016 MB / 0.7886 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.5661, allocations: 59.41 kB / 0.7886 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.5678, allocations: 1.271 MB / 0.7899 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.5679, allocations: 37.7 kB / 0.7899 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.5682, allocations: 433.7 kB / 0.7903 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5683, allocations: 149.8 kB / 0.7905 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.5685, allocations: 125.9 kB / 0.7906 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.5686, allocations: 325.9 kB / 0.7909 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.5692, allocations: 266.2 kB / 0.7911 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007194/0.5699, allocations: 499.7 kB / 0.7916 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.571, allocations: 0.5831 MB / 0.7922 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.571, allocations: 4 kB / 0.7922 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001393/0.5724, allocations: 0.7379 MB / 0.7929 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5724, allocations: 7.984 kB / 0.7929 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5724, allocations: 0 / 0.7929 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5724, allocations: 4 kB / 0.7929 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.5731, allocations: 119.8 kB / 0.793 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5731, allocations: 0 / 0.793 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.5742, allocations: 119.6 kB / 0.7932 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.5743, allocations: 19.98 kB / 0.7932 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007447/0.5751, allocations: 463.9 kB / 0.7936 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006799/0.5757, allocations: 491.1 kB / 0.7941 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/0.5768, allocations: 0.5927 MB / 0.7947 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.5768, allocations: 0 / 0.7947 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00139/0.5782, allocations: 0.7313 MB / 0.7954 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.5783, allocations: 6.188 kB / 0.7954 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.5783, allocations: 3.938 kB / 0.7954 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.5783, allocations: 4 kB / 0.7954 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.5789, allocations: 119.8 kB / 0.7955 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5789, allocations: 4 kB / 0.7955 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5801, allocations: 131.9 kB / 0.7956 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.5802, allocations: 27.97 kB / 0.7957 GB, free: 5.312 MB / 0.6075 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.0001638/0.5804, allocations: 208.1 kB / 0.7959 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.5806, allocations: 102.7 kB / 0.796 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.5822, allocations: 0.802 MB / 0.7967 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5822, allocations: 8 kB / 0.7967 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5822, allocations: 0 / 0.7967 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5822, allocations: 11.92 kB / 0.7968 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.585, allocations: 1.947 MB / 0.7987 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.585, allocations: 0 / 0.7987 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.5855, allocations: 112.1 kB / 0.7988 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5856, allocations: 7.984 kB / 0.7988 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.5856, allocations: 16 kB / 0.7988 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.5856, allocations: 4 kB / 0.7988 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5856, allocations: 7.938 kB / 0.7988 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.5875, allocations: 1.233 MB / 0.8 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.5879, allocations: 295.5 kB / 0.8003 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.5881, allocations: 11.98 kB / 0.8003 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/0.5891, allocations: 75.97 kB / 0.8004 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/0.5892, allocations: 39.95 kB / 0.8004 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.5892, allocations: 19.98 kB / 0.8004 GB, free: 276 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001276/0.5905, allocations: 0.9208 MB / 0.8013 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5905, allocations: 0 / 0.8013 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00105/0.5916, allocations: 411.3 kB / 0.8017 GB, free: 14.94 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.002446/0.594, allocations: 1.896 MB / 0.8036 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.5958, allocations: 0.9316 MB / 0.8045 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5958, allocations: 0 / 0.8045 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.5964, allocations: 343.5 kB / 0.8048 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.5984, allocations: 468.4 kB / 0.8053 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.6119, allocations: 9.196 MB / 0.8142 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.6124, allocations: 1.045 MB / 0.8153 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001044/0.6135, allocations: 291 kB / 0.8155 GB, free: 424 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.6141, allocations: 391.3 kB / 0.8159 GB, free: 32 kB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.6141, allocations: 0 / 0.8159 GB, free: 32 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.07/3.684, allocations: 29.12 MB / 0.8443 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/3.684, allocations: 238.7 kB / 0.8446 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/6.199, allocations: 0 / 0.8446 GB, free: 3.078 MB / 0.6544 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)