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.001002/0.001002, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007682/0.007682, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.688/0.688, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 8 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1687/0.4999, allocations: 185 MB / 0.7644 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005873/0.5058, allocations: 4.281 MB / 0.7685 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.5063, allocations: 23.81 kB / 0.7686 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.5072, allocations: 421.6 kB / 0.769 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.5098, allocations: 1.463 MB / 0.7704 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.5122, allocations: 1.231 MB / 0.7716 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00239/0.5146, allocations: 2.786 MB / 0.7743 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.5158, allocations: 0.913 MB / 0.7752 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.5169, allocations: 0.8092 MB / 0.776 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008815/0.5178, allocations: 0.8169 MB / 0.7768 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.5179, allocations: 56 kB / 0.7769 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.52, allocations: 1.368 MB / 0.7782 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.5203, allocations: 334.8 kB / 0.7785 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005253/0.5209, allocations: 0.5806 MB / 0.7791 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.5228, allocations: 1.954 MB / 0.781 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5228, allocations: 0 / 0.781 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5228, allocations: 0 / 0.781 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5229, allocations: 0 / 0.781 GB, free: 5.723 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.003586/0.5264, allocations: 1.499 MB / 0.7824 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5265, allocations: 15.97 kB / 0.7825 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.5266, allocations: 86.52 kB / 0.7825 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.5274, allocations: 182.5 kB / 0.7827 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.529, allocations: 1.037 MB / 0.7837 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.5291, allocations: 52.98 kB / 0.7838 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.5292, allocations: 60 kB / 0.7838 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5304, allocations: 0.627 MB / 0.7845 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5304, allocations: 0 / 0.7845 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/0.5305, allocations: 27.98 kB / 0.7845 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.5305, allocations: 17 kB / 0.7845 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.5318, allocations: 0.6441 MB / 0.7851 GB, free: 1.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.003623/0.5354, allocations: 2.677 MB / 0.7877 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.5365, allocations: 0.5529 MB / 0.7883 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.5371, allocations: 361.4 kB / 0.7886 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/0.5375, allocations: 291.3 kB / 0.7889 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5375, allocations: 42.5 kB / 0.7889 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000651/0.5382, allocations: 167.4 kB / 0.7891 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.5382, allocations: 3.938 kB / 0.7891 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002223/0.5404, allocations: 1.051 MB / 0.7901 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.5405, allocations: 55.41 kB / 0.7902 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.5423, allocations: 1.275 MB / 0.7914 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.5423, allocations: 37.7 kB / 0.7915 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.5427, allocations: 433.7 kB / 0.7919 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.5428, allocations: 153.7 kB / 0.792 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.5429, allocations: 33.7 kB / 0.7921 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.543, allocations: 325.9 kB / 0.7924 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/0.5436, allocations: 280.6 kB / 0.7926 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.5443, allocations: 497.5 kB / 0.7931 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.5455, allocations: 0.6137 MB / 0.7937 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5455, allocations: 0 / 0.7937 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001454/0.547, allocations: 0.7613 MB / 0.7945 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.547, allocations: 101.3 kB / 0.7946 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.547, allocations: 0 / 0.7946 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5471, allocations: 4 kB / 0.7946 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/0.5477, allocations: 135.7 kB / 0.7947 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5477, allocations: 7.984 kB / 0.7947 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5489, allocations: 127 kB / 0.7948 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.549, allocations: 23.97 kB / 0.7948 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/0.549, allocations: 4 kB / 0.7948 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/0.5502, allocations: 0.6281 MB / 0.7955 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.5502, allocations: 0 / 0.7955 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.5502, allocations: 8 kB / 0.7955 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.5508, allocations: 123.8 kB / 0.7956 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.5509, allocations: 0 / 0.7956 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.552, allocations: 123.7 kB / 0.7957 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.5521, allocations: 23.97 kB / 0.7957 GB, free: 6.148 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.0003693/0.5524, allocations: 333 kB / 0.796 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.5526, allocations: 102.8 kB / 0.7961 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.5543, allocations: 0.8342 MB / 0.797 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.5543, allocations: 8 kB / 0.797 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5543, allocations: 0 / 0.797 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5543, allocations: 3.984 kB / 0.797 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.5572, allocations: 1.974 MB / 0.7989 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5572, allocations: 7.938 kB / 0.7989 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.5578, allocations: 116 kB / 0.799 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5578, allocations: 11.94 kB / 0.799 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.5578, allocations: 16 kB / 0.799 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.5579, allocations: 4 kB / 0.799 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5579, allocations: 4 kB / 0.799 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.5599, allocations: 1.268 MB / 0.8003 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.5603, allocations: 299.5 kB / 0.8006 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.5604, allocations: 16 kB / 0.8006 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.5614, allocations: 75.97 kB / 0.8007 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.5615, allocations: 43.89 kB / 0.8007 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.5615, allocations: 19.98 kB / 0.8007 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001332/0.5629, allocations: 0.9208 MB / 0.8016 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5629, allocations: 0 / 0.8016 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00101/0.5639, allocations: 411.3 kB / 0.802 GB, free: 15.54 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.002596/0.5665, allocations: 1.931 MB / 0.8039 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.5684, allocations: 0.9668 MB / 0.8048 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5684, allocations: 0 / 0.8048 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.5691, allocations: 352.1 kB / 0.8052 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.5716, allocations: 452 kB / 0.8056 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.5863, allocations: 9.323 MB / 0.8147 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.5869, allocations: 1.049 MB / 0.8157 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001128/0.588, allocations: 291.1 kB / 0.816 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/0.5886, allocations: 391.3 kB / 0.8164 GB, free: 444 kB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/0.5886, allocations: 0 / 0.8164 GB, free: 444 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.651/3.24, allocations: 28.75 MB / 0.8445 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/3.24, allocations: 230.3 kB / 0.8447 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/6.19, allocations: 0 / 0.8447 GB, free: 207.1 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)