Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_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.000955/0.0009555, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.00107/0.00107, allocations: 192 kB / 17.2 MB, free: 5.598 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.263/1.263, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5051/0.8149, allocations: 189.7 MB / 0.7525 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006911/0.8219, allocations: 4.275 MB / 0.7567 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.823, allocations: 30.56 kB / 0.7567 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.8243, allocations: 0.4957 MB / 0.7572 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.8279, allocations: 1.568 MB / 0.7587 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.8311, allocations: 1.332 MB / 0.76 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.8346, allocations: 2.25 MB / 0.7622 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.8363, allocations: 1.082 MB / 0.7633 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.838, allocations: 0.9479 MB / 0.7642 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.8391, allocations: 0.8664 MB / 0.765 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.8393, allocations: 140.6 kB / 0.7652 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.8417, allocations: 1.242 MB / 0.7664 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.8421, allocations: 422.2 kB / 0.7668 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006993/0.8429, allocations: 0.6444 MB / 0.7674 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.8452, allocations: 1.952 MB / 0.7693 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8452, allocations: 2.203 kB / 0.7693 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8452, allocations: 0 / 0.7693 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.8452, allocations: 1.031 kB / 0.7693 GB, free: 1.457 MB / 0.5762 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.004153/0.8494, allocations: 1.728 MB / 0.771 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.8495, allocations: 10.62 kB / 0.771 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.8496, allocations: 90.97 kB / 0.7711 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.8505, allocations: 183.1 kB / 0.7713 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.8522, allocations: 1.041 MB / 0.7723 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.8524, allocations: 52.58 kB / 0.7724 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.8525, allocations: 60.69 kB / 0.7724 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.8537, allocations: 0.6097 MB / 0.773 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8538, allocations: 0 / 0.773 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.8538, allocations: 20.31 kB / 0.773 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.8539, allocations: 25.16 kB / 0.773 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.8552, allocations: 0.6243 MB / 0.7737 GB, free: 16.13 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.003829/0.8591, allocations: 2.672 MB / 0.7763 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000992/0.8601, allocations: 0.5379 MB / 0.7768 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.8606, allocations: 346.7 kB / 0.7771 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.861, allocations: 293 kB / 0.7774 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.861, allocations: 43.03 kB / 0.7774 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006304/0.8617, allocations: 142.9 kB / 0.7776 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.8617, allocations: 0 / 0.7776 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002096/0.8638, allocations: 1.02 MB / 0.7786 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.8638, allocations: 57.12 kB / 0.7786 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.8655, allocations: 1.27 MB / 0.7799 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.8656, allocations: 41.98 kB / 0.7799 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.8659, allocations: 435 kB / 0.7803 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.866, allocations: 152 kB / 0.7805 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.8662, allocations: 120 kB / 0.7806 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8663, allocations: 329.3 kB / 0.7809 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.8668, allocations: 270.4 kB / 0.7812 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.8675, allocations: 489.5 kB / 0.7816 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.8686, allocations: 0.578 MB / 0.7822 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8686, allocations: 0.6562 kB / 0.7822 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001383/0.87, allocations: 0.7347 MB / 0.7829 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.87, allocations: 8.094 kB / 0.7829 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.87, allocations: 2.219 kB / 0.7829 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.87, allocations: 0 / 0.7829 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.8707, allocations: 126 kB / 0.783 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8707, allocations: 2.906 kB / 0.783 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.8719, allocations: 99.5 kB / 0.7831 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.8719, allocations: 22.83 kB / 0.7832 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007239/0.8727, allocations: 467.3 kB / 0.7836 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006783/0.8733, allocations: 494.4 kB / 0.7841 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.8744, allocations: 0.5787 MB / 0.7846 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.8744, allocations: 3.5 kB / 0.7846 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001331/0.8757, allocations: 0.7271 MB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.8757, allocations: 5.938 kB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8757, allocations: 1.406 kB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.8757, allocations: 4.906 kB / 0.7854 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.8763, allocations: 120.4 kB / 0.7855 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.8763, allocations: 2.406 kB / 0.7855 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.8776, allocations: 130.6 kB / 0.7856 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.8777, allocations: 23.2 kB / 0.7856 GB, free: 13.32 MB / 0.5919 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.0001904/0.8779, allocations: 214.3 kB / 0.7858 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.8781, allocations: 103.4 kB / 0.7859 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.8796, allocations: 0.8035 MB / 0.7867 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8796, allocations: 9.281 kB / 0.7867 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8796, allocations: 0 / 0.7867 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.8796, allocations: 7.828 kB / 0.7867 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.8824, allocations: 1.95 MB / 0.7886 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8824, allocations: 3.5 kB / 0.7886 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.8829, allocations: 113.4 kB / 0.7887 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.8829, allocations: 5.125 kB / 0.7888 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.883, allocations: 14.94 kB / 0.7888 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.883, allocations: 8.391 kB / 0.7888 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.883, allocations: 2.281 kB / 0.7888 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.8849, allocations: 1.234 MB / 0.79 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.8853, allocations: 291.5 kB / 0.7903 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.8854, allocations: 14.53 kB / 0.7903 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/0.8864, allocations: 59.53 kB / 0.7903 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.8865, allocations: 49.06 kB / 0.7904 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.8865, allocations: 20.23 kB / 0.7904 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001214/0.8878, allocations: 0.9187 MB / 0.7913 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8878, allocations: 0 / 0.7913 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001202/0.889, allocations: 407.3 kB / 0.7917 GB, free: 12.06 MB / 0.5919 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.002617/0.8916, allocations: 1.892 MB / 0.7935 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.8937, allocations: 0.9973 MB / 0.7945 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8937, allocations: 0 / 0.7945 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.8943, allocations: 337.2 kB / 0.7948 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.8962, allocations: 436.2 kB / 0.7952 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.9084, allocations: 8.941 MB / 0.804 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.909, allocations: 1.048 MB / 0.805 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001263/0.9103, allocations: 286.3 kB / 0.8053 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/0.9109, allocations: 387.2 kB / 0.8056 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of SimCode: time 1.773e-06/0.9109, allocations: 0 / 0.8056 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/0.9726, allocations: 29.93 MB / 0.8349 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/9.545, allocations: 9.469 kB / 0.8349 GB, free: 15.59 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)