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.001118/0.001118, 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.001253/0.001253, allocations: 192.7 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.267/1.267, 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.8819/0.8819, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.56 kB / 0.5054 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.136, allocations: 80.92 MB / 0.5845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3776/0.5136, allocations: 189.7 MB / 0.7697 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006068/0.5197, allocations: 4.277 MB / 0.7739 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.5202, allocations: 27.81 kB / 0.7739 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.5213, allocations: 0.5006 MB / 0.7744 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.5239, allocations: 1.559 MB / 0.7759 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.5265, allocations: 1.328 MB / 0.7772 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.5284, allocations: 2.258 MB / 0.7794 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.5294, allocations: 1.081 MB / 0.7805 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009722/0.5304, allocations: 0.9498 MB / 0.7814 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008197/0.5312, allocations: 0.8678 MB / 0.7822 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.5314, allocations: 136 kB / 0.7824 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.5332, allocations: 1.247 MB / 0.7836 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.5335, allocations: 426.7 kB / 0.784 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.534, allocations: 0.6455 MB / 0.7846 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.5357, allocations: 1.955 MB / 0.7865 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5357, allocations: 4 kB / 0.7865 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5357, allocations: 4 kB / 0.7865 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5357, allocations: 0 / 0.7865 GB, free: 13.94 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.003518/0.5393, allocations: 1.723 MB / 0.7882 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5393, allocations: 15.97 kB / 0.7882 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.801e-05/0.5394, allocations: 86.52 kB / 0.7883 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007186/0.5401, allocations: 186.5 kB / 0.7885 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.5416, allocations: 1.045 MB / 0.7895 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.5417, allocations: 48.94 kB / 0.7896 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.5418, allocations: 60 kB / 0.7896 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5429, allocations: 0.6154 MB / 0.7902 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5429, allocations: 0 / 0.7902 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.5429, allocations: 16 kB / 0.7902 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.543, allocations: 21 kB / 0.7903 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.5442, allocations: 0.6284 MB / 0.7909 GB, free: 9.387 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.003394/0.5476, allocations: 2.665 MB / 0.7935 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.5486, allocations: 0.5334 MB / 0.794 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.5492, allocations: 358 kB / 0.7943 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.5495, allocations: 283.3 kB / 0.7946 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5495, allocations: 46.52 kB / 0.7947 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005434/0.5501, allocations: 143.5 kB / 0.7948 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.5501, allocations: 0 / 0.7948 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002102/0.5522, allocations: 1.009 MB / 0.7958 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.5523, allocations: 63.41 kB / 0.7958 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.5539, allocations: 1.275 MB / 0.7971 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.554, allocations: 37.7 kB / 0.7971 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.5543, allocations: 429.7 kB / 0.7975 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.5544, allocations: 149.8 kB / 0.7977 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.5546, allocations: 117.9 kB / 0.7978 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.5547, allocations: 329.8 kB / 0.7981 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.5552, allocations: 274.2 kB / 0.7984 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.5559, allocations: 477.4 kB / 0.7988 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.557, allocations: 0.5919 MB / 0.7994 GB, free: 308 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.557, allocations: 0 / 0.7994 GB, free: 308 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001363/0.5584, allocations: 0.7387 MB / 0.8001 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5584, allocations: 6.344 kB / 0.8001 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5584, allocations: 0 / 0.8001 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5584, allocations: 4 kB / 0.8001 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.559, allocations: 123.8 kB / 0.8002 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.559, allocations: 6.5 kB / 0.8003 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.5601, allocations: 99.8 kB / 0.8003 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.5601, allocations: 19.98 kB / 0.8004 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000742/0.5609, allocations: 471.9 kB / 0.8008 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006943/0.5616, allocations: 488.6 kB / 0.8013 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00108/0.5627, allocations: 0.5875 MB / 0.8019 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.5627, allocations: 0 / 0.8019 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001416/0.5641, allocations: 0.7305 MB / 0.8026 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.5641, allocations: 8 kB / 0.8026 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.5641, allocations: 0 / 0.8026 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.5642, allocations: 0 / 0.8026 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.5647, allocations: 123.8 kB / 0.8027 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5648, allocations: 0 / 0.8027 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5659, allocations: 125.4 kB / 0.8028 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.566, allocations: 19.98 kB / 0.8028 GB, free: 12.68 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.0001697/0.5662, allocations: 224 kB / 0.803 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5663, allocations: 102.7 kB / 0.8031 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.5679, allocations: 0.7971 MB / 0.8039 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.568, allocations: 4 kB / 0.8039 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.568, allocations: 0 / 0.8039 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.568, allocations: 3.984 kB / 0.8039 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.5708, allocations: 1.953 MB / 0.8058 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5708, allocations: 0 / 0.8058 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.5713, allocations: 115.7 kB / 0.806 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.5714, allocations: 4 kB / 0.806 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.5714, allocations: 16.28 kB / 0.806 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.5714, allocations: 11.17 kB / 0.806 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5714, allocations: 4 kB / 0.806 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.5734, allocations: 1.233 MB / 0.8072 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.5737, allocations: 295.5 kB / 0.8075 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.5739, allocations: 12 kB / 0.8075 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/0.5748, allocations: 63.97 kB / 0.8075 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.5749, allocations: 39.89 kB / 0.8076 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.5749, allocations: 23.98 kB / 0.8076 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001281/0.5762, allocations: 0.9208 MB / 0.8085 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5762, allocations: 0 / 0.8085 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009412/0.5772, allocations: 419.2 kB / 0.8089 GB, free: 6.309 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.002404/0.5796, allocations: 1.88 MB / 0.8107 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.5815, allocations: 0.9906 MB / 0.8117 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5815, allocations: 4 kB / 0.8117 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.5821, allocations: 332.1 kB / 0.812 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.5838, allocations: 444 kB / 0.8124 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.5955, allocations: 8.952 MB / 0.8212 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.5961, allocations: 1.041 MB / 0.8222 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009651/0.597, allocations: 287.1 kB / 0.8225 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.5976, allocations: 395.2 kB / 0.8229 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.5976, allocations: 0 / 0.8229 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.348/1.946, allocations: 29.9 MB / 0.8521 GB, free: 10.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/9.987, allocations: 6.422 kB / 0.8521 GB, free: 10.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)