Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007964/0.0007964, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004716/0.004716, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 258.5 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004305, allocations: 16.05 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4633/0.6053, allocations: 184.9 MB / 0.8658 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007175/0.6125, allocations: 4.276 MB / 0.87 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.6137, allocations: 22.69 kB / 0.87 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.615, allocations: 418.9 kB / 0.8704 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.6182, allocations: 1.464 MB / 0.8719 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.6211, allocations: 1.234 MB / 0.8731 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002703/0.6238, allocations: 2.777 MB / 0.8758 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.625, allocations: 0.9048 MB / 0.8767 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.6261, allocations: 0.8218 MB / 0.8775 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009071/0.6271, allocations: 0.8214 MB / 0.8783 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.6272, allocations: 55.56 kB / 0.8783 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.6293, allocations: 1.368 MB / 0.8797 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.6297, allocations: 335.3 kB / 0.88 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.6302, allocations: 0.5685 MB / 0.8805 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.6321, allocations: 1.956 MB / 0.8825 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6322, allocations: 7.938 kB / 0.8825 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6322, allocations: 0 / 0.8825 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.6322, allocations: 0 / 0.8825 GB, free: 5.707 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.003704/0.6359, allocations: 1.491 MB / 0.8839 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.636, allocations: 12.03 kB / 0.8839 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.6361, allocations: 90.52 kB / 0.884 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.6369, allocations: 190.4 kB / 0.8842 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6385, allocations: 1.037 MB / 0.8852 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.6387, allocations: 52.92 kB / 0.8853 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.6388, allocations: 60 kB / 0.8853 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.64, allocations: 0.6232 MB / 0.8859 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.64, allocations: 0 / 0.8859 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.6401, allocations: 16 kB / 0.8859 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.6401, allocations: 25 kB / 0.886 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.6414, allocations: 0.648 MB / 0.8866 GB, free: 1.348 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.003771/0.6452, allocations: 2.681 MB / 0.8892 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.6463, allocations: 0.5529 MB / 0.8898 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.647, allocations: 365.3 kB / 0.8901 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/0.6474, allocations: 291.2 kB / 0.8904 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.6474, allocations: 46.5 kB / 0.8904 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006986/0.6481, allocations: 163.5 kB / 0.8906 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.6481, allocations: 0 / 0.8906 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002275/0.6504, allocations: 1.055 MB / 0.8916 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.6504, allocations: 59.41 kB / 0.8917 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.6523, allocations: 1.271 MB / 0.8929 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.6524, allocations: 37.7 kB / 0.8929 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.6528, allocations: 437.5 kB / 0.8934 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6529, allocations: 153.8 kB / 0.8935 GB, free: 10 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.653, allocations: 33.7 kB / 0.8935 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6531, allocations: 329.9 kB / 0.8939 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.6537, allocations: 276.6 kB / 0.8941 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.6544, allocations: 0.491 MB / 0.8946 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.6557, allocations: 0.61 MB / 0.8952 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6557, allocations: 0 / 0.8952 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00152/0.6572, allocations: 0.7688 MB / 0.8959 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.6573, allocations: 93.48 kB / 0.896 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6573, allocations: 3.938 kB / 0.896 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6573, allocations: 4 kB / 0.896 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.658, allocations: 131.8 kB / 0.8962 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.658, allocations: 0 / 0.8962 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.6592, allocations: 126 kB / 0.8963 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.6593, allocations: 27.97 kB / 0.8963 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.6593, allocations: 4 kB / 0.8963 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/0.6606, allocations: 0.6282 MB / 0.8969 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.6606, allocations: 0 / 0.8969 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.6607, allocations: 0 / 0.8969 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.6613, allocations: 135.8 kB / 0.8971 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6613, allocations: 4 kB / 0.8971 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.6624, allocations: 117.2 kB / 0.8972 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.6625, allocations: 31.97 kB / 0.8972 GB, free: 6.117 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.0004185/0.6629, allocations: 325.6 kB / 0.8975 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.6631, allocations: 106.7 kB / 0.8976 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.6648, allocations: 0.8266 MB / 0.8984 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6648, allocations: 8 kB / 0.8984 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6648, allocations: 0 / 0.8984 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6648, allocations: 0 / 0.8984 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.6678, allocations: 1.976 MB / 0.9004 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6678, allocations: 11.88 kB / 0.9004 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.6684, allocations: 111.9 kB / 0.9005 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6684, allocations: 4 kB / 0.9005 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.6684, allocations: 23.92 kB / 0.9005 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.6684, allocations: 4 kB / 0.9005 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6684, allocations: 8.094 kB / 0.9005 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.6706, allocations: 1.264 MB / 0.9018 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.671, allocations: 299.6 kB / 0.902 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.6711, allocations: 19.86 kB / 0.9021 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/0.6721, allocations: 75.97 kB / 0.9021 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6722, allocations: 39.95 kB / 0.9022 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.6723, allocations: 27.98 kB / 0.9022 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001364/0.6736, allocations: 0.913 MB / 0.9031 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6736, allocations: 0 / 0.9031 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001032/0.6747, allocations: 407.4 kB / 0.9035 GB, free: 15.52 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.002657/0.6773, allocations: 1.941 MB / 0.9054 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.6793, allocations: 0.9746 MB / 0.9063 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6793, allocations: 0 / 0.9063 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.68, allocations: 352.5 kB / 0.9067 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.6826, allocations: 458.3 kB / 0.9071 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.6974, allocations: 9.308 MB / 0.9162 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.698, allocations: 1.045 MB / 0.9172 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001163/0.6991, allocations: 295 kB / 0.9175 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/0.6998, allocations: 391.2 kB / 0.9179 GB, free: 408 kB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/0.6998, allocations: 0 / 0.9179 GB, free: 408 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04643/0.7462, allocations: 28.79 MB / 0.946 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.7464, allocations: 261.1 kB / 0.9462 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.115, allocations: 4 kB / 0.9462 GB, free: 3.809 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)