Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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.001633/0.001633, allocations: 96.5 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 177 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.631/2.631, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.236/1.236, allocations: 113.7 MB / 405.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.0005988, allocations: 12 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2986, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 1.069/1.367, allocations: 198.8 MB / 0.7508 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04446/1.412, allocations: 14.76 MB / 0.7653 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/1.416, allocations: 67.5 kB / 0.7653 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006511/1.422, allocations: 1.065 MB / 0.7664 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.021/1.443, allocations: 3.527 MB / 0.7698 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/1.454, allocations: 1.732 MB / 0.7715 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01123/1.465, allocations: 3.073 MB / 0.7745 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004237/1.469, allocations: 1.3 MB / 0.7758 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008281/1.477, allocations: 1.811 MB / 0.7775 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004609/1.482, allocations: 1.109 MB / 0.7786 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008281/1.483, allocations: 88 kB / 0.7787 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007969/1.491, allocations: 1.244 MB / 0.7799 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00222/1.493, allocations: 0.6154 MB / 0.7805 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002594/1.496, allocations: 436.6 kB / 0.7809 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00777/1.504, allocations: 2.287 MB / 0.7832 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.504, allocations: 0 / 0.7832 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.037e-06/1.504, allocations: 0 / 0.7832 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001219/1.504, allocations: 0 / 0.7832 GB, free: 2.023 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.009504/1.513, allocations: 2.098 MB / 0.7852 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.791e-05/1.514, allocations: 12.03 kB / 0.7852 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009554/1.515, allocations: 215.1 kB / 0.7854 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005828/1.52, allocations: 0.5016 MB / 0.7859 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/1.526, allocations: 1.215 MB / 0.7871 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/1.526, allocations: 182.2 kB / 0.7873 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004855/1.526, allocations: 151.9 kB / 0.7874 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005267/1.532, allocations: 1.728 MB / 0.7891 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/1.532, allocations: 7.938 kB / 0.7891 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/1.532, allocations: 60 kB / 0.7892 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/1.532, allocations: 66.64 kB / 0.7892 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005089/1.537, allocations: 1.377 MB / 0.7906 GB, free: 10.21 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.02287/1.56, allocations: 8.207 MB / 0.7986 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/1.564, allocations: 0.9248 MB / 0.7995 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/1.564, allocations: 158.2 kB / 0.7997 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.445e-05/1.565, allocations: 43.56 kB / 0.7997 GB, free: 148 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 5.5e-06/1.565, allocations: 0 / 0.7997 GB, free: 148 kB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.01557/1.58, allocations: 3.171 MB / 0.8028 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.58, allocations: 68.41 kB / 0.8029 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/1.584, allocations: 1.246 MB / 0.8041 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/1.584, allocations: 49.7 kB / 0.8041 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/1.585, allocations: 0.8094 MB / 0.8049 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006975/1.586, allocations: 362.7 kB / 0.8053 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.586, allocations: 28 kB / 0.8053 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003254/1.586, allocations: 353.9 kB / 0.8056 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.588, allocations: 438.4 kB / 0.806 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/1.59, allocations: 0.8221 MB / 0.8068 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/1.592, allocations: 0.5573 MB / 0.8074 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.592, allocations: 0 / 0.8074 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005401/1.598, allocations: 1.409 MB / 0.8088 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.00269/1.6, allocations: 3.67 MB / 0.8123 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/1.6, allocations: 8 kB / 0.8124 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-05/1.6, allocations: 19.98 kB / 0.8124 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.603, allocations: 275.6 kB / 0.8126 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.311e-05/1.603, allocations: 23.92 kB / 0.8127 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/1.607, allocations: 176.6 kB / 0.8128 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/1.607, allocations: 52 kB / 0.8129 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.607, allocations: 8 kB / 0.8129 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004809/1.612, allocations: 1.226 MB / 0.8141 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.612, allocations: 8 kB / 0.8141 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/1.612, allocations: 16 kB / 0.8141 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/1.615, allocations: 284.4 kB / 0.8144 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-05/1.615, allocations: 19.94 kB / 0.8144 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/1.619, allocations: 175.6 kB / 0.8146 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/1.619, allocations: 55.95 kB / 0.8146 GB, free: 248 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.001788/1.621, allocations: 0.5063 MB / 0.8151 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/1.621, allocations: 162 kB / 0.8153 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/1.625, allocations: 1.182 MB / 0.8164 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.625, allocations: 11.98 kB / 0.8164 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.625, allocations: 7.938 kB / 0.8164 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002784/1.628, allocations: 1.099 MB / 0.8175 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.639, allocations: 2.805 MB / 0.8203 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.639, allocations: 4 kB / 0.8203 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.641, allocations: 251.7 kB / 0.8205 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/1.641, allocations: 4.219 kB / 0.8205 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/1.641, allocations: 39.92 kB / 0.8205 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/1.641, allocations: 4 kB / 0.8205 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.641, allocations: 4 kB / 0.8205 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/1.646, allocations: 1.881 MB / 0.8224 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.648, allocations: 339 kB / 0.8227 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004009/1.648, allocations: 23.98 kB / 0.8227 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.65, allocations: 151.1 kB / 0.8229 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.651, allocations: 68.94 kB / 0.8229 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/1.651, allocations: 39.94 kB / 0.823 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001449/1.652, allocations: 0.8309 MB / 0.8238 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/1.652, allocations: 0 / 0.8238 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003354/1.656, allocations: 0.7617 MB / 0.8245 GB, free: 5.82 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.006606/1.662, allocations: 3.068 MB / 0.8275 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005367/1.668, allocations: 1.744 MB / 0.8292 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.962e-05/1.668, allocations: 4 kB / 0.8292 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.669, allocations: 0.5214 MB / 0.8297 GB, free: 440 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5063/2.176, allocations: 0.9457 MB / 0.8307 GB, free: 233.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05313/2.229, allocations: 16.31 MB / 0.8466 GB, free: 223 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003646/2.233, allocations: 1.482 MB / 0.848 GB, free: 222.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005018/2.238, allocations: 0.5576 MB / 0.8486 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/2.24, allocations: 0.6847 MB / 0.8493 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of SimCode: time 2.033e-06/2.24, allocations: 1.344 kB / 0.8493 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/2.367, allocations: 44.41 MB / 0.8926 GB, free: 192.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000353/2.367, allocations: 225 kB / 0.8928 GB, free: 192.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.397/7.764, allocations: 0 / 0.8928 GB, free: 192.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: