Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.0007844/0.0007846, allocations: 90.52 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.004842/0.004843, allocations: 171.1 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 262.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9438/0.9438, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006569, allocations: 13.47 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.162, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4491/0.6111, allocations: 185.9 MB / 0.8667 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007994/0.6191, allocations: 5.732 MB / 0.8723 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.6198, allocations: 31.25 kB / 0.8724 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.6211, allocations: 0.5008 MB / 0.8728 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.6248, allocations: 1.744 MB / 0.8745 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.6272, allocations: 1.087 MB / 0.8756 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00385/0.6311, allocations: 4.083 MB / 0.8796 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009385/0.632, allocations: 0.7836 MB / 0.8804 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.6333, allocations: 0.8654 MB / 0.8812 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.6349, allocations: 0.914 MB / 0.8821 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.635, allocations: 41.69 kB / 0.8821 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.6376, allocations: 1.619 MB / 0.8837 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.638, allocations: 390.8 kB / 0.8841 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.6386, allocations: 0.5887 MB / 0.8847 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.6409, allocations: 2.138 MB / 0.8868 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6409, allocations: 0 / 0.8868 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6409, allocations: 0 / 0.8868 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.6409, allocations: 0 / 0.8868 GB, free: 1.434 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00202/0.6429, allocations: 1.298 MB / 0.888 GB, free: 84 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.643, allocations: 8.031 kB / 0.888 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.6431, allocations: 135.2 kB / 0.8882 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.645, allocations: 318.3 kB / 0.8885 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.6462, allocations: 0.8162 MB / 0.8893 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.6463, allocations: 62 kB / 0.8893 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.6464, allocations: 84 kB / 0.8894 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.6479, allocations: 0.9247 MB / 0.8903 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.648, allocations: 0 / 0.8903 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6481, allocations: 40 kB / 0.8903 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.6481, allocations: 33.94 kB / 0.8904 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.6495, allocations: 0.8393 MB / 0.8912 GB, free: 12.78 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.004994/0.6545, allocations: 3.544 MB / 0.8947 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.6553, allocations: 0.5011 MB / 0.8951 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/0.6558, allocations: 299.2 kB / 0.8954 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.656, allocations: 109.5 kB / 0.8955 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.656, allocations: 42.98 kB / 0.8956 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.6561, allocations: 0 / 0.8956 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003816/0.6599, allocations: 1.946 MB / 0.8975 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.6599, allocations: 63.77 kB / 0.8975 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/0.6609, allocations: 0.802 MB / 0.8983 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.6609, allocations: 37.7 kB / 0.8984 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.6613, allocations: 479.3 kB / 0.8988 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.6614, allocations: 173.5 kB / 0.899 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.6615, allocations: 45.7 kB / 0.899 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6616, allocations: 337.9 kB / 0.8993 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.6621, allocations: 245.2 kB / 0.8996 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.6626, allocations: 361.2 kB / 0.8999 GB, free: 3.402 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/0.6665, allocations: 1.57 MB / 0.9014 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6665, allocations: 0 / 0.9014 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00133/0.6678, allocations: 0.7926 MB / 0.9022 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6678, allocations: 14.03 kB / 0.9022 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6679, allocations: 0 / 0.9022 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.6682, allocations: 97.58 kB / 0.9023 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/0.6688, allocations: 159.8 kB / 0.9025 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.6716, allocations: 3.057 MB / 0.9055 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/0.6724, allocations: 63.8 kB / 0.9055 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.6725, allocations: 20 kB / 0.9055 GB, free: 13.3 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004484/0.673, allocations: 301.5 kB / 0.9058 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.6731, allocations: 90.91 kB / 0.9059 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.6733, allocations: 108.8 kB / 0.906 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6733, allocations: 4 kB / 0.906 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6733, allocations: 12 kB / 0.906 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/0.6744, allocations: 0.8466 MB / 0.9069 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.6772, allocations: 1.811 MB / 0.9086 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6772, allocations: 4.031 kB / 0.9086 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.6778, allocations: 143.8 kB / 0.9088 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.678, allocations: 68.81 kB / 0.9088 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.6781, allocations: 19.98 kB / 0.9089 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.6796, allocations: 1.64 MB / 0.9105 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.6796, allocations: 11.92 kB / 0.9105 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.6812, allocations: 1.088 MB / 0.9115 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.6815, allocations: 232.2 kB / 0.9118 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.6816, allocations: 20 kB / 0.9118 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/0.6824, allocations: 65.61 kB / 0.9118 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.6825, allocations: 51.81 kB / 0.9119 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/0.6826, allocations: 31.98 kB / 0.9119 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006878/0.6833, allocations: 0.5537 MB / 0.9125 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6833, allocations: 0 / 0.9125 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008323/0.6841, allocations: 288 kB / 0.9127 GB, free: 5.527 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/0.6862, allocations: 1.722 MB / 0.9144 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.6875, allocations: 0.8197 MB / 0.9152 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6875, allocations: 0 / 0.9152 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.6881, allocations: 411.9 kB / 0.9156 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.6912, allocations: 0.5762 MB / 0.9162 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7012, allocations: 7.731 MB / 0.9237 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.7019, allocations: 1.087 MB / 0.9248 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007722/0.7027, allocations: 207.7 kB / 0.925 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.7031, allocations: 343.3 kB / 0.9253 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.7031, allocations: 0 / 0.9253 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/0.7459, allocations: 26.47 MB / 0.9512 GB, free: 14.25 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.7462, allocations: 304.5 kB / 0.9515 GB, free: 13.87 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.969, allocations: 0 / 0.9515 GB, free: 13.87 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)