Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_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.001207/0.001207, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.002076/0.002077, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.805/1.805, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.313/1.313, allocations: 143.4 MB / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005134, allocations: 8 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3016, allocations: 83.42 MB / 0.5975 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7183/1.02, allocations: 172.6 MB / 0.7661 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007611/1.028, allocations: 4.076 MB / 0.7701 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/1.029, allocations: 23.81 kB / 0.7701 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/1.03, allocations: 329.7 kB / 0.7704 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/1.033, allocations: 1.131 MB / 0.7715 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/1.036, allocations: 1.02 MB / 0.7725 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002899/1.039, allocations: 2.39 MB / 0.7749 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/1.041, allocations: 0.8531 MB / 0.7757 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/1.042, allocations: 0.8055 MB / 0.7765 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.043, allocations: 0.786 MB / 0.7773 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/1.043, allocations: 56 kB / 0.7773 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.045, allocations: 0.799 MB / 0.7781 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003692/1.046, allocations: 330.8 kB / 0.7784 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/1.046, allocations: 221.1 kB / 0.7786 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/1.048, allocations: 1.555 MB / 0.7801 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.048, allocations: 0 / 0.7801 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.605e-06/1.048, allocations: 0 / 0.7801 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.048, allocations: 0 / 0.7801 GB, free: 1.027 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.003998/1.052, allocations: 1.502 MB / 0.7816 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.57e-05/1.052, allocations: 12.03 kB / 0.7816 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/1.052, allocations: 90.45 kB / 0.7817 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008637/1.053, allocations: 191.1 kB / 0.7819 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/1.055, allocations: 1.003 MB / 0.7829 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/1.055, allocations: 52.97 kB / 0.7829 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/1.055, allocations: 67.98 kB / 0.783 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/1.057, allocations: 0.6154 MB / 0.7836 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.057, allocations: 3.938 kB / 0.7836 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/1.057, allocations: 16 kB / 0.7836 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/1.057, allocations: 24.98 kB / 0.7836 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/1.058, allocations: 0.6407 MB / 0.7842 GB, free: 12.7 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.004236/1.062, allocations: 2.685 MB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.063, allocations: 0.5468 MB / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/1.064, allocations: 357.8 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/1.065, allocations: 299.3 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/1.065, allocations: 35.12 kB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006361/1.065, allocations: 163.5 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.466e-06/1.065, allocations: 0 / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002252/1.068, allocations: 1.054 MB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.068, allocations: 55.41 kB / 0.7893 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/1.07, allocations: 1.267 MB / 0.7905 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/1.07, allocations: 37.7 kB / 0.7906 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/1.07, allocations: 437.7 kB / 0.791 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/1.07, allocations: 149.8 kB / 0.7911 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/1.07, allocations: 4 kB / 0.7911 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.071, allocations: 322 kB / 0.7914 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/1.071, allocations: 272.6 kB / 0.7917 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/1.072, allocations: 492.2 kB / 0.7922 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/1.073, allocations: 327.7 kB / 0.7925 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.073, allocations: 0 / 0.7925 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001518/1.074, allocations: 0.7495 MB / 0.7932 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/1.074, allocations: 103.4 kB / 0.7933 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/1.074, allocations: 0 / 0.7933 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.074, allocations: 3.984 kB / 0.7933 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/1.075, allocations: 131.8 kB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.075, allocations: 5.812 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.076, allocations: 118.7 kB / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/1.076, allocations: 27.97 kB / 0.7936 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/1.076, allocations: 8 kB / 0.7936 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/1.078, allocations: 0.6278 MB / 0.7942 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/1.078, allocations: 0 / 0.7942 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/1.078, allocations: 0 / 0.7942 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/1.078, allocations: 127.8 kB / 0.7943 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.078, allocations: 7.938 kB / 0.7943 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.079, allocations: 128.4 kB / 0.7945 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/1.079, allocations: 23.98 kB / 0.7945 GB, free: 1.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004525/1.08, allocations: 333 kB / 0.7948 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/1.08, allocations: 98.78 kB / 0.7949 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/1.082, allocations: 0.8231 MB / 0.7957 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.082, allocations: 8 kB / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.082, allocations: 0 / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.082, allocations: 7.938 kB / 0.7957 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/1.085, allocations: 1.981 MB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.085, allocations: 0 / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/1.086, allocations: 119.8 kB / 0.7978 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.086, allocations: 4 kB / 0.7978 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/1.086, allocations: 19.98 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/1.086, allocations: 4.625 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.086, allocations: 3.938 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/1.088, allocations: 1.264 MB / 0.799 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/1.089, allocations: 295.6 kB / 0.7993 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/1.089, allocations: 11.98 kB / 0.7993 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/1.09, allocations: 90.94 kB / 0.7994 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.09, allocations: 35.89 kB / 0.7994 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/1.09, allocations: 27.92 kB / 0.7995 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001871/1.092, allocations: 0.913 MB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.092, allocations: 0 / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001627/1.094, allocations: 403.4 kB / 0.8007 GB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003842/1.098, allocations: 1.934 MB / 0.8026 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002083/1.1, allocations: 0.9639 MB / 0.8036 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.1, allocations: 4 kB / 0.8036 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006473/1.1, allocations: 352.5 kB / 0.8039 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.103, allocations: 464.8 kB / 0.8044 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/1.117, allocations: 6.757 MB / 0.811 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/1.118, allocations: 1.038 MB / 0.812 GB, free: 15.48 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.00126/1.119, allocations: 286.9 kB / 0.8122 GB, free: 15.2 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/1.12, allocations: 391.3 kB / 0.8126 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of SimCode: time 4.71e-07/1.12, allocations: 0 / 0.8126 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05463/1.174, allocations: 29.06 MB / 0.841 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.175, allocations: 233.2 kB / 0.8412 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.927, allocations: 4.062 kB / 0.8412 GB, free: 2 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: