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.000962/0.0009619, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009481/0.0009481, allocations: 187.4 kB / 16.25 MB, free: 6.637 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.683/0.683, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 59.53 kB / 0.5014 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1235, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3692/0.4928, allocations: 187.2 MB / 0.7625 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.4986, allocations: 4.262 MB / 0.7667 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008473/0.4995, allocations: 23.81 kB / 0.7667 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.5006, allocations: 445.6 kB / 0.7671 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.5034, allocations: 1.456 MB / 0.7685 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.5059, allocations: 1.245 MB / 0.7697 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.5079, allocations: 2.265 MB / 0.772 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.509, allocations: 1.06 MB / 0.773 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009598/0.5099, allocations: 0.9614 MB / 0.7739 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.5108, allocations: 0.8873 MB / 0.7748 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.5109, allocations: 144 kB / 0.7749 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.5124, allocations: 1.286 MB / 0.7762 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.5128, allocations: 422.7 kB / 0.7766 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.5133, allocations: 0.6492 MB / 0.7772 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.515, allocations: 2.041 MB / 0.7792 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.515, allocations: 0 / 0.7792 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.515, allocations: 4 kB / 0.7792 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.515, allocations: 0 / 0.7792 GB, free: 6.789 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.003582/0.5186, allocations: 1.736 MB / 0.7809 GB, free: 5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.5186, allocations: 8.031 kB / 0.7809 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.538e-05/0.5187, allocations: 86.52 kB / 0.781 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.5194, allocations: 186.5 kB / 0.7812 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.5208, allocations: 1.03 MB / 0.7822 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.5209, allocations: 60.92 kB / 0.7823 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.521, allocations: 56 kB / 0.7823 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5221, allocations: 0.6154 MB / 0.7829 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5221, allocations: 7.875 kB / 0.7829 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.5221, allocations: 19.94 kB / 0.7829 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.5222, allocations: 17 kB / 0.7829 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.5233, allocations: 0.6246 MB / 0.7836 GB, free: 2.23 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.003272/0.5266, allocations: 2.654 MB / 0.7862 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009758/0.5276, allocations: 0.5485 MB / 0.7867 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/0.5281, allocations: 353.3 kB / 0.787 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003265/0.5285, allocations: 291.2 kB / 0.7873 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.5285, allocations: 42.52 kB / 0.7873 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006285/0.5291, allocations: 159.5 kB / 0.7875 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.5292, allocations: 0 / 0.7875 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.001995/0.5312, allocations: 1.016 MB / 0.7885 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.5312, allocations: 59.41 kB / 0.7885 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.5328, allocations: 1.271 MB / 0.7898 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.5329, allocations: 37.7 kB / 0.7898 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.5331, allocations: 433.7 kB / 0.7902 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.5333, allocations: 149.8 kB / 0.7904 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5335, allocations: 117.9 kB / 0.7905 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.5336, allocations: 325.9 kB / 0.7908 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.5341, allocations: 270.2 kB / 0.7911 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.5347, allocations: 490 kB / 0.7915 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.5358, allocations: 0.5871 MB / 0.7921 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5358, allocations: 0 / 0.7921 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0013/0.5371, allocations: 0.7376 MB / 0.7928 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5371, allocations: 8 kB / 0.7928 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5371, allocations: 4 kB / 0.7928 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.5371, allocations: 0 / 0.7928 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.5377, allocations: 123.8 kB / 0.7929 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5378, allocations: 0 / 0.7929 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.5388, allocations: 107.7 kB / 0.7931 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.5389, allocations: 23.97 kB / 0.7931 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006884/0.5396, allocations: 467.9 kB / 0.7935 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006515/0.5403, allocations: 487.1 kB / 0.794 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009981/0.5413, allocations: 0.5886 MB / 0.7946 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.5413, allocations: 3.938 kB / 0.7946 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001274/0.5425, allocations: 0.7351 MB / 0.7953 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.5426, allocations: 4 kB / 0.7953 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.5426, allocations: 0 / 0.7953 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-06/0.5426, allocations: 4 kB / 0.7953 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.5432, allocations: 123.8 kB / 0.7954 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.5432, allocations: 4 kB / 0.7954 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.5444, allocations: 136.2 kB / 0.7955 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.5444, allocations: 23.97 kB / 0.7956 GB, free: 5.484 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.0001416/0.5446, allocations: 208.1 kB / 0.7958 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.5447, allocations: 106.7 kB / 0.7959 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.5462, allocations: 0.8094 MB / 0.7967 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5462, allocations: 4 kB / 0.7967 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5462, allocations: 0 / 0.7967 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5462, allocations: 0 / 0.7967 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.5488, allocations: 1.955 MB / 0.7986 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5488, allocations: 4 kB / 0.7986 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.5493, allocations: 111.7 kB / 0.7987 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.5493, allocations: 8 kB / 0.7987 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.5494, allocations: 11.98 kB / 0.7987 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5494, allocations: 4 kB / 0.7987 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5494, allocations: 7.938 kB / 0.7987 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.5512, allocations: 1.225 MB / 0.7999 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.5515, allocations: 299.6 kB / 0.8002 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5517, allocations: 12 kB / 0.8002 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009232/0.5526, allocations: 71.84 kB / 0.8003 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.5527, allocations: 47.88 kB / 0.8003 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.5527, allocations: 20 kB / 0.8003 GB, free: 460 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001153/0.5539, allocations: 0.9209 MB / 0.8012 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5539, allocations: 0 / 0.8012 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008384/0.5547, allocations: 407.3 kB / 0.8016 GB, free: 15.12 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.002266/0.557, allocations: 1.9 MB / 0.8035 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.5588, allocations: 0.994 MB / 0.8044 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5588, allocations: 0 / 0.8044 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.5593, allocations: 335.6 kB / 0.8048 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.561, allocations: 430 kB / 0.8052 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.5737, allocations: 9.214 MB / 0.8142 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.5742, allocations: 1.041 MB / 0.8152 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009073/0.5751, allocations: 292.4 kB / 0.8155 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.5756, allocations: 391.3 kB / 0.8158 GB, free: 204 kB / 0.6231 GB Notification: Performance of SimCode: time 1.282e-06/0.5756, allocations: 0 / 0.8158 GB, free: 204 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.534/2.109, allocations: 29.6 MB / 0.8447 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/2.11, allocations: 233.4 kB / 0.845 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/5.822, allocations: 0 / 0.845 GB, free: 2.801 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)